Fixed sqlite error
This commit is contained in:
parent
a03e0259da
commit
81863ae912
|
@ -13,7 +13,7 @@ pub const Db = struct {
|
|||
|
||||
pub fn init(allocator: Allocator, mode: ?sqlite.Db.Mode) !Db {
|
||||
var sqlDb = try sqlite.Db.init(.{
|
||||
.mode = if (mode != null) mode.? else sqlite.Db.Mode{ .File = "/home/nate/Source/rluv/zerver/data.db" },
|
||||
.mode = if (mode != null) mode.? else sqlite.Db.Mode{ .File = "./data.db" },
|
||||
.open_flags = .{
|
||||
.write = true,
|
||||
.create = true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user