mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-21 16:21:01 +00:00
Migration.
This commit is contained in:
parent
a8f1bc9024
commit
915a227fd9
1 changed files with 7 additions and 1 deletions
|
@ -1 +1,7 @@
|
|||
-- Add migration script here
|
||||
-- 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),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue