From f3c493bbaba1ec2c5672640d2682119647dbf334 Mon Sep 17 00:00:00 2001 From: Elyrith Date: Fri, 16 Aug 2013 20:35:28 -0400 Subject: [PATCH] Removed NOT NULL from users db, salt field since it's not implemented yet. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 3e4aca8..2de1d1e 100644 --- a/install.php +++ b/install.php @@ -27,7 +27,7 @@ if (mysql_error()) { } # Try to create 'blog_users' table -$sql = "CREATE TABLE `blog_users` (`id` int(11) NOT NULL AUTO_INCREMENT,`username` varchar(20) NOT NULL,`name` varchar(40) NOT NULL,`password` varchar(64) NOT NULL,`salt` int(64) NOT NULL,`session` int(64), PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;"; +$sql = "CREATE TABLE `blog_users` (`id` int(11) NOT NULL AUTO_INCREMENT,`username` varchar(20) NOT NULL,`name` varchar(40) NOT NULL,`password` varchar(64) NOT NULL,`salt` int(64),`session` int(64), PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;"; $result = mysql_query($sql); if (mysql_error()) { echo mysql_error() . ".
";