2023-03-15 10:04:48 +01:00
|
|
|
-- +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,
|
2023-03-15 15:24:51 +01:00
|
|
|
filename text not null,
|
2023-03-15 10:04:48 +01:00
|
|
|
created_at timestamptz not null default now()
|
|
|
|
);
|