Allow updating production plan responsibility
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m13s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m13s
This commit is contained in:
@@ -796,7 +796,8 @@ const initDB = async () => {
|
||||
// role-based assignments be added without changing historical plans.
|
||||
await pool.query(`
|
||||
ALTER TABLE production_plans
|
||||
ADD COLUMN IF NOT EXISTS responsible_user_id INTEGER REFERENCES app_users(id) ON DELETE SET NULL;
|
||||
ADD COLUMN IF NOT EXISTS responsible_user_id INTEGER REFERENCES app_users(id) ON DELETE SET NULL,
|
||||
ADD COLUMN IF NOT EXISTS responsible_name TEXT;
|
||||
`).catch(() => {});
|
||||
|
||||
await pool.query(`
|
||||
|
||||
Reference in New Issue
Block a user