diff --git a/manifest b/manifest index 6ae6dd162..4343951f5 100644 --- a/manifest +++ b/manifest @@ -22,4 +22,5 @@ music_session_all_params.sql as_musician.sql bootstrap_users_v3.sql update_user_band_fields.sql -add_recording_creator_id.sql \ No newline at end of file +add_recording_creator_id.sql +make_location_nullable.sql \ No newline at end of file diff --git a/up/make_location_nullable.sql b/up/make_location_nullable.sql new file mode 100644 index 000000000..1bd8e455c --- /dev/null +++ b/up/make_location_nullable.sql @@ -0,0 +1,7 @@ +alter table users alter column city drop not null; +alter table users alter column state drop not null; +alter table users alter column country drop not null; + +alter table bands alter column city drop not null; +alter table bands alter column state drop not null; +alter table bands alter column country drop not null; \ No newline at end of file