-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema-sqlite.sql
More file actions
11 lines (6 loc) · 915 Bytes
/
schema-sqlite.sql
File metadata and controls
11 lines (6 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
CREATE TABLE IF NOT EXISTS bookmark (node_id INTEGER UNIQUE,sequence INTEGER);
CREATE TABLE IF NOT EXISTS children (node_id INTEGER UNIQUE,father_id INTEGER,sequence INTEGER,master_id INTEGER);
CREATE TABLE IF NOT EXISTS codebox (node_id INTEGER,offset INTEGER,justification TEXT,txt TEXT,syntax TEXT,width INTEGER,height INTEGER,is_width_pix INTEGER,do_highl_bra INTEGER,do_show_linenum INTEGER);
CREATE TABLE IF NOT EXISTS grid (node_id INTEGER,offset INTEGER,justification TEXT,txt TEXT,col_min INTEGER,col_max INTEGER);
CREATE TABLE IF NOT EXISTS image (node_id INTEGER,offset INTEGER,justification TEXT,anchor TEXT,png BLOB,filename TEXT,link TEXT,time INTEGER);
CREATE TABLE IF NOT EXISTS node (node_id INTEGER UNIQUE,name TEXT,txt TEXT,syntax TEXT,tags TEXT,is_ro INTEGER,is_richtxt INTEGER,has_codebox INTEGER,has_table INTEGER,has_image INTEGER,level INTEGER,ts_creation INTEGER,ts_lastsave INTEGER);