mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-27 11:31:11 +00:00
6 lines
208 B
SQL
6 lines
208 B
SQL
-- Create Subscription Tokens Table
|
|
CREATE TABLE subscription_tokens(
|
|
subscription_token TEXT NOT NULL,
|
|
subscriber_id uuid NOT NULL REFERENCES subscriptions (id),
|
|
PRIMARY KEY (subscription_token)
|
|
);
|