diff --git a/manifest b/manifest index 467c269a3..6ae6dd162 100644 --- a/manifest +++ b/manifest @@ -21,4 +21,5 @@ user_authorizations.sql music_session_all_params.sql as_musician.sql bootstrap_users_v3.sql -update_user_band_fields.sql \ No newline at end of file +update_user_band_fields.sql +add_recording_creator_id.sql \ No newline at end of file diff --git a/up/add_recording_creator_id.sql b/up/add_recording_creator_id.sql new file mode 100644 index 000000000..5322e463a --- /dev/null +++ b/up/add_recording_creator_id.sql @@ -0,0 +1,2 @@ +ALTER TABLE recordings ADD COLUMN creator_id VARCHAR(64) NOT NULL REFERENCES users (id); +ALTER TABLE recordings ADD COLUMN updater_id VARCHAR(64) NOT NULL REFERENCES users (id);