diff --git a/db/manifest b/db/manifest index bd6ca8ce6..691ae0001 100755 --- a/db/manifest +++ b/db/manifest @@ -296,4 +296,5 @@ add_description_to_perf_samples.sql alter_genre_player_unique_constraint.sql musician_search.sql enhance_band_profile.sql -alter_band_profile_rate_defaults.sql \ No newline at end of file +alter_band_profile_rate_defaults.sql +repair_band_profile.sql diff --git a/db/up/repair_band_profile.sql b/db/up/repair_band_profile.sql new file mode 100644 index 000000000..1a87f51a4 --- /dev/null +++ b/db/up/repair_band_profile.sql @@ -0,0 +1,3 @@ +ALTER TABLE musicians_instruments ALTER COLUMN player_id SET NOT NULL; +ALTER TABLE performance_samples ALTER COLUMN player_id SET NOT NULL; +ALTER TABLE online_presences ALTER COLUMN player_id SET NOT NULL; \ No newline at end of file