Files
fredy/lib/services/storage/migrations/sql/5.job-sharing.js
orangecoding b48f786fd3 improve docu
2025-10-08 12:16:10 +02:00

8 lines
194 B
JavaScript

// Migration: Adding a new table to store if somebody shared a job with someone
export function up(db) {
db.exec(`
ALTER TABLE jobs ADD COLUMN shared_with_user jsonb DEFAULT '[]'
`);
}