chore: seminarhof customer project
This commit is contained in:
10
db/sqlite/0001-init.sql
Normal file
10
db/sqlite/0001-init.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE IF NOT EXISTS kanban_card (
|
||||
card_id TEXT PRIMARY KEY,
|
||||
title TEXT NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'todo',
|
||||
position INTEGER NOT NULL DEFAULT 0,
|
||||
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_kanban_card_status_position
|
||||
ON kanban_card (status, position);
|
||||
Reference in New Issue
Block a user