Publier Globinours 1.0.0-rc.3
This commit is contained in:
parent
ea8c24d622
commit
9a2b4068da
325 changed files with 38230 additions and 20 deletions
13
migrations/053_asm3_import_jobs.sql
Normal file
13
migrations/053_asm3_import_jobs.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
CREATE TABLE asm3_import_jobs (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
original_name TEXT NOT NULL,
|
||||
stored_name TEXT NOT NULL UNIQUE,
|
||||
source_sha256 TEXT NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'analyzed' CHECK(status IN ('analyzed','completed','failed')),
|
||||
analysis_json TEXT NOT NULL,
|
||||
result_json TEXT,
|
||||
created_by INTEGER,
|
||||
created_at TEXT NOT NULL DEFAULT(datetime('now')),
|
||||
completed_at TEXT,
|
||||
FOREIGN KEY(created_by) REFERENCES users(id) ON DELETE SET NULL
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue