Logo
Explore Help
Sign In
arman/science-ation
1
1
Fork 0
You've already forked science-ation
forked from science-ation/science-ation
Code Pull Requests Activity
science-ation/db/db.update.166.sql

3 lines
83 B
MySQL
Raw Normal View History

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.
2010-02-22 18:45:57 +00:00
UPDATE award_awards SET award_source_fairs_id=NULL WHERE award_source_fairs_id=0;
Copy Permalink
Powered by Gitea Page: 104ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API