9 lines
330 B
SQL
9 lines
330 B
SQL
-- migrate:up
|
|
-- A member's role/position can change from one event to another, so it lives
|
|
-- on the join row rather than on the user.
|
|
ALTER TABLE event_committee ADD COLUMN role TEXT NOT NULL DEFAULT '';
|
|
ALTER TABLE event_committee ALTER COLUMN role DROP DEFAULT;
|
|
|
|
-- migrate:down
|
|
ALTER TABLE event_committee DROP COLUMN role;
|
|
|