summaryrefslogtreecommitdiff
path: root/modules/user/helpers/user_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-26 04:54:43 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-26 04:54:43 +0000
commit9c60566197a1edeb1c7d758886c8d518b5b99388 (patch)
tree0c486ae87d994f49497a4e295c0403fe7e9ce799 /modules/user/helpers/user_installer.php
parent226df2a8f855010a3400fb4d8bb72469ad43d91a (diff)
Add support for marking users as "admin"
Diffstat (limited to 'modules/user/helpers/user_installer.php')
-rw-r--r--modules/user/helpers/user_installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php
index 4a86692c..13811804 100644
--- a/modules/user/helpers/user_installer.php
+++ b/modules/user/helpers/user_installer.php
@@ -35,6 +35,7 @@ class user_installer {
`login_count` int(10) unsigned NOT NULL DEFAULT 0,
`last_login` int(10) unsigned NOT NULL DEFAULT 0,
`email` varchar(255) default NULL,
+ `admin` BOOLEAN default 0,
PRIMARY KEY (`id`),
UNIQUE KEY(`display_name`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");