set default for account_level in DB

This commit is contained in:
friendica
2014-02-07 22:47:03 -08:00
parent ae6bd7dc1e
commit 8c845f5d50
3 changed files with 10 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS `account` (
`account_expires` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`account_expire_notified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`account_service_class` char(32) NOT NULL DEFAULT '',
`account_level` int(10) unsigned NOT NULL,
`account_level` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`account_id`),
KEY `account_email` (`account_email`),
KEY `account_service_class` (`account_service_class`),