refactor: compile without warnings

This commit is contained in:
Jef Roosens 2022-11-01 21:59:18 +01:00
parent 23632be7a4
commit a2fda0d4b7
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
8 changed files with 47 additions and 47 deletions

View file

@ -26,8 +26,8 @@ const (
)
// init initializes a database & adds the correct tables.
pub fn init(db_path string) ?VieterDb {
conn := sqlite.connect(db_path)?
pub fn init(db_path string) !VieterDb {
conn := sqlite.connect(db_path)!
sql conn {
create table MigrationVersion