jetzig/demo/config/database.zig
2025-05-03 11:04:29 +02:00

17 lines
423 B
Zig

pub const database = .{
.development = .{
.adapter = .postgresql,
.username = "postgres",
.password = "postgres",
.hostname = "localhost",
.database = "jetzig_demo_dev",
.port = 14173, // See `compose.yml`
},
// This configuration is used for CI
// in GitHub
.testing = .{
.adapter = .postgresql,
.database = "jetzig_demo_test",
},
};