feat(booking): move event and ticket configuration to database
Replace hardcoded event details and ticket types with dynamic DB records Add booking-config API endpoint to serve active event settings
This commit is contained in:
@@ -9,7 +9,8 @@ export function getSqlClient() {
|
||||
sqlClient = postgres(
|
||||
config.databaseUrl || 'postgresql://postgres:postgres@127.0.0.1:5432/dinner_ticket_system',
|
||||
{
|
||||
max: 10
|
||||
max: 10,
|
||||
onnotice: false
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user