Files
transcriber/migrations/001_create_files_table.sql

11 lines
197 B
SQL

-- +goose Up
CREATE TABLE files (
id TEXT PRIMARY KEY,
type TEXT NOT NULL,
size INTEGER NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
-- +goose Down
DROP TABLE files;