diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 22:16:10 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 22:16:10 +0000 |
commit | 6564007a9deb7879b67ec67e81ec91841ddd09a4 (patch) | |
tree | 05006d6ead45254e19def32e2e7df3eaa9043bd3 /modules/user/helpers/user_installer.php | |
parent | 9d2d8243362c13e6e918f896b124dfd2181c8890 (diff) |
Implement admin user editing. It's still very rough. Trying to
figure out how to share forms between user and admin editing.
Incremental improvement
Diffstat (limited to 'modules/user/helpers/user_installer.php')
-rw-r--r-- | modules/user/helpers/user_installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php index 739a8815..e19abc11 100644 --- a/modules/user/helpers/user_installer.php +++ b/modules/user/helpers/user_installer.php @@ -26,7 +26,7 @@ class user_installer { $db->query("CREATE TABLE IF NOT EXISTS `users` ( `id` int(9) NOT NULL auto_increment, `name` varchar(32) NOT NULL, - `display_name` varchar(255) NOT NULL, + `full_name` varchar(255) NOT NULL, `password` varchar(128) NOT NULL, `login_count` int(10) unsigned NOT NULL DEFAULT 0, `last_login` int(10) unsigned NOT NULL DEFAULT 0, @@ -34,7 +34,7 @@ class user_installer { `admin` BOOLEAN default 0, `guest` BOOLEAN default 0, PRIMARY KEY (`id`), - UNIQUE KEY(`display_name`)) + UNIQUE KEY(`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); $db->query("CREATE TABLE IF NOT EXISTS `groups` ( |