You've already forked pages
forked from didirus/AstralRinth
Authentication workflow complete, add database link
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE states (
|
||||
id bigint PRIMARY KEY,
|
||||
url varchar(500)
|
||||
);
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Add migration script here
|
||||
ALTER TABLE states
|
||||
|
||||
ADD COLUMN expires timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP + interval '1 hour';
|
||||
@@ -0,0 +1,3 @@
|
||||
-- Add migration script here
|
||||
ALTER TABLE states
|
||||
ALTER COLUMN url SET NOT NULL;
|
||||
Reference in New Issue
Block a user