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:
dave 2010-02-22 18:45:57 +00:00
parent 15c9c5619a
commit 89547f902a
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
165
166

2
db/db.update.166.sql Normal file
View File

@ -0,0 +1,2 @@
UPDATE award_awards SET award_source_fairs_id=NULL WHERE award_source_fairs_id=0;