Fixes category creation in setup script.
This commit is contained in:
parent
7eb6b081ad
commit
87952e8d4d
1 changed files with 2 additions and 0 deletions
|
|
@ -38,7 +38,9 @@ proc initialiseDb(admin: tuple[username, password, email: string]) =
|
|||
description varchar(500) not null,
|
||||
color varchar(10) not null
|
||||
);
|
||||
""")
|
||||
|
||||
db.exec(sql"""
|
||||
insert into category (id, name, description, color)
|
||||
values (0, 'Default', '', '');
|
||||
""")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue