generated from dave/wails-template
Add go files from previous project
This commit is contained in:
19
ddl.sql
Normal file
19
ddl.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
begin transaction;
|
||||
|
||||
create table Bill (
|
||||
id integer PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT not null
|
||||
);
|
||||
create index Bill_name on Bill (name);
|
||||
|
||||
create table Payment (
|
||||
id integer PRIMARY KEY AUTOINCREMENT,
|
||||
billid integer,
|
||||
monthFor date not null,
|
||||
paymentDate date
|
||||
);
|
||||
create unique index Payment_billid_monthFor_unique on Payment (billid, monthFor);
|
||||
create index Payment_billid on Payment (billid);
|
||||
create index Payment_monthFor on Payment (monthFor);
|
||||
|
||||
commit;
|
Reference in New Issue
Block a user