Start DB integration
This commit is contained in:
2
migrations/2024-09-07-130446_sessions/down.sql
Normal file
2
migrations/2024-09-07-130446_sessions/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE sessions
|
||||
6
migrations/2024-09-07-130446_sessions/up.sql
Normal file
6
migrations/2024-09-07-130446_sessions/up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS sessions (
|
||||
id bigint[2] PRIMARY KEY,
|
||||
data jsonb,
|
||||
expiry_date TEXT
|
||||
)
|
||||
Reference in New Issue
Block a user