-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.sql
31 lines (31 loc) · 868 Bytes
/
schema.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CREATE TABLE project (
id integer primary key autoincrement,
path varchar(255),
name varchar(255),
desc varchar(4000),
cat varchar(255),
status varchar(255),
is_git tinyint(1),
owner varchar(255),
repo varchar(255),
last_commit varchar(255),
UNIQUE(path)
);
CREATE TABLE sqlite_sequence(name,seq);
CREATE TABLE todo (
id integer primary key autoincrement,
parent_id integer,
project_id integer,
todo varchar(255),
is_complete tinyint(1) default 0,
priority integer default 1
);
CREATE TABLE category (
id integer primary key autoincrement,
name varchar(255)
);
CREATE TABLE tmp_git_config (
path varchar(255) not null primary key,
is_selected tinyint(1) default 0,
UNIQUE(path)
);