Adding views and schema.
This commit is contained in:
8
data/schema.sql
Normal file
8
data/schema.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
drop table if exists cards;
|
||||
create table cards (
|
||||
id integer primary key autoincrement,
|
||||
type tinyint not null, /* 1 for vocab, 2 for code */
|
||||
front text not null,
|
||||
back text not null,
|
||||
known boolean default 0
|
||||
);
|
||||
Reference in New Issue
Block a user