feat: build entire backend into single executable (including migrations etc)
This commit is contained in:
parent
f94bc67f3d
commit
ded9d06e4a
12 changed files with 137 additions and 32 deletions
10
scripts/migrate/008_data_exports.sql
Normal file
10
scripts/migrate/008_data_exports.sql
Normal file
|
@ -0,0 +1,10 @@
|
|||
-- +migrate Up
|
||||
|
||||
-- 2023-03-15: Add data export
|
||||
|
||||
create table data_exports (
|
||||
id serial primary key,
|
||||
user_id text not null references users (id) on delete cascade,
|
||||
hash text not null,
|
||||
created_at timestamptz not null default now()
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue