more db column renames
This commit is contained in:
@@ -440,12 +440,13 @@ CREATE TABLE IF NOT EXISTS `groups` (
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`visible` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`deleted` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`name` char(255) NOT NULL DEFAULT '',
|
||||
`gname` char(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `uid` (`uid`),
|
||||
KEY `visible` (`visible`),
|
||||
KEY `deleted` (`deleted`),
|
||||
KEY `hash` (`hash`)
|
||||
KEY `hash` (`hash`),
|
||||
KEY `gname` (`gname`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `group_member` (
|
||||
@@ -979,7 +980,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
|
||||
`profile_name` char(255) NOT NULL DEFAULT '',
|
||||
`is_default` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`hide_friends` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`name` char(255) NOT NULL DEFAULT '',
|
||||
`fullname` char(255) NOT NULL DEFAULT '',
|
||||
`pdesc` char(255) NOT NULL DEFAULT '',
|
||||
`chandesc` text NOT NULL,
|
||||
`dob` char(32) NOT NULL DEFAULT '0000-00-00',
|
||||
@@ -992,7 +993,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
|
||||
`hometown` char(255) NOT NULL DEFAULT '',
|
||||
`gender` char(32) NOT NULL DEFAULT '',
|
||||
`marital` char(255) NOT NULL DEFAULT '',
|
||||
`with` text NOT NULL,
|
||||
`partner` text NOT NULL,
|
||||
`howlong` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`sexual` char(255) NOT NULL DEFAULT '',
|
||||
`politic` char(255) NOT NULL DEFAULT '',
|
||||
@@ -1008,7 +1009,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
|
||||
`film` text NOT NULL,
|
||||
`interest` text NOT NULL,
|
||||
`romance` text NOT NULL,
|
||||
`work` text NOT NULL,
|
||||
`employment` text NOT NULL,
|
||||
`education` text NOT NULL,
|
||||
`contact` text NOT NULL,
|
||||
`channels` text NOT NULL,
|
||||
@@ -1153,7 +1154,7 @@ CREATE TABLE IF NOT EXISTS `term` (
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`oid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`otype` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`ttype` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`term` char(255) NOT NULL DEFAULT '',
|
||||
`url` char(255) NOT NULL DEFAULT '',
|
||||
`imgurl` char(255) NOT NULL DEFAULT '',
|
||||
@@ -1162,7 +1163,7 @@ CREATE TABLE IF NOT EXISTS `term` (
|
||||
PRIMARY KEY (`tid`),
|
||||
KEY `oid` (`oid`),
|
||||
KEY `otype` (`otype`),
|
||||
KEY `type` (`type`),
|
||||
KEY `ttype` (`ttype`),
|
||||
KEY `term` (`term`),
|
||||
KEY `uid` (`uid`),
|
||||
KEY `aid` (`aid`),
|
||||
|
Reference in New Issue
Block a user