10 lines
304 B
SQL
10 lines
304 B
SQL
CREATE TABLE code_panes (
|
|
id INTEGER PRIMARY KEY NOT NULL,
|
|
kind TEXT NOT NULL DEFAULT 'code' CHECK (kind = 'code'),
|
|
|
|
-- The sync ID of the notebook. This may be null if the notebook has not yet been saved.
|
|
local_path BLOB,
|
|
|
|
FOREIGN KEY (id, kind) REFERENCES pane_leaves (pane_node_id, kind)
|
|
);
|