Fix migration.

This commit is contained in:
LukeMathWalker 2021-03-11 22:30:22 +00:00
parent 915a227fd9
commit ccf1d84fe9

View file

@ -1,7 +1,6 @@
-- Create Subscription Tokens Table
CREATE TABLE subscription_tokens(
subscription_token uuid NOT NULL,
subscriber_id uuid NOT NULL
REFERENCES subscriptions (id),
PRIMARY KEY (subscription_token),
subscription_token TEXT NOT NULL,
subscriber_id uuid NOT NULL REFERENCES subscriptions (id),
PRIMARY KEY (subscription_token)
);