feat: Get started doc migration (#3102)

* feat: migrate empty document

* chore: update collab rev

* chore: fmt
This commit is contained in:
Nathan.fooo
2023-08-03 09:14:52 +08:00
committed by GitHub
parent a40c639a96
commit 03b8f2ccb2
31 changed files with 546 additions and 170 deletions

View File

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE user_data_migration_records;

View File

@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE user_data_migration_records (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
migration_name TEXT NOT NULL,
executed_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
);