AppFlowy/frontend/rust-lib/flowy-sqlite/migrations/2022-04-05-015536_grid-block-index/up.sql
Nathan.fooo 5b07656295
Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code
2023-01-31 08:28:31 +08:00

7 lines
223 B
SQL

-- Your SQL goes here
CREATE TABLE grid_block_index_table (
row_id TEXT NOT NULL PRIMARY KEY,
block_id TEXT NOT NULL
);
-- CREATE VIRTUAL TABLE grid_block_fts_table USING FTS5(content, grid_id, block_id, row_id);