Init: generated with claude-sonnet-4
This commit is contained in:
12
migrations/002_create_transcribe_jobs_table.sql
Normal file
12
migrations/002_create_transcribe_jobs_table.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE transcribe_jobs (
|
||||
id TEXT PRIMARY KEY,
|
||||
status TEXT NOT NULL DEFAULT 'pending',
|
||||
file_id TEXT NOT NULL,
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (file_id) REFERENCES files(id)
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE transcribe_jobs;
|
Reference in New Issue
Block a user