Add views and begin database

This commit is contained in:
mitteneer 2024-11-20 18:17:14 -05:00
parent 348545949a
commit a15db5fb31
68 changed files with 709 additions and 90 deletions

28
config/database.zig Normal file
View file

@ -0,0 +1,28 @@
pub const database = .{
.testing = .{
.adapter = .postgresql,
.hostname = "localhost",
.port = 5432,
.username = "postgres",
.password = "postgres",
.database = "zuletzt_testing",
},
.development = .{
.adapter = .postgresql,
.hostname = "localhost",
.port = 5432,
.username = "postgres",
.password = "postgres",
.database = "zuletzt_dev",
},
.production = .{
.adapter = .postgresql,
.hostname = "localhost",
.port = 5432,
.username = "postgres",
.password = "postgres",
.database = "zuletzt",
},
};