Files
fredy/lib/services/storage/migrations/sql/5.job-sharing.js

13 lines
325 B
JavaScript
Raw Normal View History

2025-12-11 10:40:55 +01:00
/*
* Copyright (c) 2026 by Christian Kellner.
2025-12-11 10:40:55 +01:00
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
*/
2025-10-08 12:16:10 +02:00
// Migration: Adding a new table to store if somebody shared a job with someone
2025-10-07 21:06:59 +02:00
export function up(db) {
db.exec(`
ALTER TABLE jobs ADD COLUMN shared_with_user jsonb DEFAULT '[]'
`);
}