Skip to content
Browse files

More SQL schema fixes

  • Loading branch information...
1 parent 0f09198 commit 302f6bd70de2588358b22cacb0cb4ee924243d5b @h9k committed May 20, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 setup/sql/schema.sql
View
8 setup/sql/schema.sql
@@ -67,10 +67,10 @@ INSERT IGNORE INTO `magirc_content` (`name`, `text`) VALUES ('welcome', '<h1>Wel
CREATE TABLE IF NOT EXISTS `magirc_admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
- `username` varchar(16) NOT NULL,
- `password` varchar(255) NOT NULL,
- `realname` varchar(32) NOT NULL,
- `email` varchar(32) NOT NULL,
+ `username` varchar(16) NOT NULL default '',
+ `password` varchar(255) NOT NULL default '',
+ `realname` varchar(32) NOT NULL default '',
+ `email` varchar(32) NOT NULL default '',
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)

0 comments on commit 302f6bd

Please sign in to comment.
Something went wrong with that request. Please try again.