forked from science-ation/science-ation
Some fairs did a rollvoer before the NULL was fixed (I think it was
fixed), and reset some award sources to 0 instead of NULL. award_source_fairs_id can never be 0 anyway (unless someone edits the DB manually), so just set them back to NULL so the existing code works.
This commit is contained in:
parent
15c9c5619a
commit
89547f902a
@ -1 +1 @@
|
||||
165
|
||||
166
|
||||
|
2
db/db.update.166.sql
Normal file
2
db/db.update.166.sql
Normal file
@ -0,0 +1,2 @@
|
||||
UPDATE award_awards SET award_source_fairs_id=NULL WHERE award_source_fairs_id=0;
|
||||
|
Loading…
Reference in New Issue
Block a user