adapter-sqlite: all repo implementations + wire fn + migrations copy
This commit is contained in:
10
migrations_sqlite/20260314000000_add_local_files_index.sql
Normal file
10
migrations_sqlite/20260314000000_add_local_files_index.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE IF NOT EXISTS local_files_index (
|
||||
id TEXT PRIMARY KEY,
|
||||
rel_path TEXT NOT NULL UNIQUE,
|
||||
title TEXT NOT NULL,
|
||||
duration_secs INTEGER NOT NULL DEFAULT 0,
|
||||
year INTEGER,
|
||||
tags TEXT NOT NULL DEFAULT '[]',
|
||||
top_dir TEXT NOT NULL DEFAULT '',
|
||||
scanned_at TEXT NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user