Add views and begin database
This commit is contained in:
parent
348545949a
commit
a15db5fb31
68 changed files with 709 additions and 90 deletions
28
config/database.zig
Normal file
28
config/database.zig
Normal 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",
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue