Notification updates
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user