Notification updates

This commit is contained in:
Eric Gullickson
2025-12-21 19:56:52 -06:00
parent 144f1d5bb0
commit 719c80ecd8
80 changed files with 7552 additions and 678 deletions

View File

@@ -23,6 +23,8 @@ const MIGRATION_ORDER = [
'features/maintenance', // Depends on vehicles
'features/stations', // Independent
'features/admin', // Admin role management and oversight; depends on update_updated_at_column()
'features/notifications', // Depends on maintenance and documents
'features/user-profile', // User profile management; independent
];
// Base directory where migrations are copied inside the image (set by Dockerfile)
@@ -101,7 +103,7 @@ async function main() {
// Wait for database to be reachable (handles cold starts)
const waitForDb = async (timeoutMs = 60000) => {
const start = Date.now();
/* eslint-disable no-constant-condition */
while (true) {
try {
await pool.query('SELECT 1');