Updated Sqls
This commit is contained in:
parent
0910cd7eed
commit
dbe78e3ec9
2 changed files with 22 additions and 1 deletions
|
@ -13,4 +13,6 @@ CREATE TABLE `cb_sessions` (
|
|||
`agent` text NOT NULL,
|
||||
`last_active` datetime NOT NULL,
|
||||
PRIMARY KEY (`session_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
|
||||
ALTER TABLE `cb_users` ADD `album_privacy` ENUM( 'public', 'private', 'friends' ) NOT NULL DEFAULT 'private' AFTER `is_subscribed`
|
19
sql/2.4~2.4.5.txt
Normal file
19
sql/2.4~2.4.5.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
ALTER TABLE `cb_pages` ADD `page_order` BIGINT( 100 ) NOT NULL AFTER `page_id` ,
|
||||
ADD `display` ENUM( 'yes', 'no' ) NOT NULL DEFAULT 'yes' AFTER `page_order` ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `display` = 'no' WHERE `cb_pages`.`page_id` =5 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `display` = 'no' WHERE `cb_pages`.`page_id` =6 LIMIT 1 ;
|
||||
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '1' WHERE `cb_pages`.`page_id` =1 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '2' WHERE `cb_pages`.`page_id` =2 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '3' WHERE `cb_pages`.`page_id` =3 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '4' WHERE `cb_pages`.`page_id` =4 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '5' WHERE `cb_pages`.`page_id` =5 LIMIT 1 ;
|
||||
|
||||
UPDATE `clipbucket_svn`.`cb_pages` SET `page_order` = '6' WHERE `cb_pages`.`page_id` =6 LIMIT 1 ;
|
Loading…
Add table
Reference in a new issue