pronounss/scripts/migrate/008_data_exports.sql

15 lines
308 B
MySQL
Raw Permalink Normal View History

-- 2023-03-15: Add data export
2023-08-16 03:30:34 +02:00
-- +migrate Up
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,
created_at timestamptz not null default now()
);
2023-08-16 03:30:34 +02:00
-- +migrate Down
drop table data_exports;