support limit
This commit is contained in:
@@ -12,9 +12,10 @@ func install() {
|
||||
}
|
||||
|
||||
_, err = tx.Exec(`
|
||||
CREATE TABLE timetables (
|
||||
CREATE TABLE timetables (
|
||||
id serial primary key,
|
||||
"name" text NOT NULL,
|
||||
"limit" integer NOT NULL DEFAULT 1,
|
||||
status bool NOT NULL DEFAULT false,
|
||||
created timestamp NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user