Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
make sure these fields are never null
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh committed Apr 7, 2010
1 parent 982799c commit 8c756c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions migrations/21-null-counts.sql
@@ -0,0 +1,5 @@
ALTER TABLE personas
CHANGE COLUMN `popularity` `popularity` int(11) NOT NULL default 0;

ALTER TABLE addons
CHANGE COLUMN `totalreviews` `totalreviews` int(11) NOT NULL default 0;

0 comments on commit 8c756c5

Please sign in to comment.