mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-22 00:31:01 +00:00
Fix migration.
This commit is contained in:
parent
915a227fd9
commit
ccf1d84fe9
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
-- Create Subscription Tokens Table
|
-- Create Subscription Tokens Table
|
||||||
CREATE TABLE subscription_tokens(
|
CREATE TABLE subscription_tokens(
|
||||||
subscription_token uuid NOT NULL,
|
subscription_token TEXT NOT NULL,
|
||||||
subscriber_id uuid NOT NULL
|
subscriber_id uuid NOT NULL REFERENCES subscriptions (id),
|
||||||
REFERENCES subscriptions (id),
|
PRIMARY KEY (subscription_token)
|
||||||
PRIMARY KEY (subscription_token),
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue