add account_level, is_foreigner and is_member functions; convert all e2ee user input and prompts to hex to avoid javascipt's lame handling of quotes. !!This breaks all prior encrypted posts.!!
This commit is contained in:
@@ -54,6 +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 DEFAULT 0,
|
||||
PRIMARY KEY (`account_id`),
|
||||
KEY `account_email` (`account_email`),
|
||||
KEY `account_service_class` (`account_service_class`),
|
||||
@@ -63,7 +64,8 @@ CREATE TABLE IF NOT EXISTS `account` (
|
||||
KEY `account_lastlog` (`account_lastlog`),
|
||||
KEY `account_expires` (`account_expires`),
|
||||
KEY `account_default_channel` (`account_default_channel`),
|
||||
KEY `account_external` (`account_external`)
|
||||
KEY `account_external` (`account_external`),
|
||||
KEY `account_level` (`account_level`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `addon` (
|
||||
|
||||
Reference in New Issue
Block a user