aboutsummaryrefslogblamecommitdiffstats
path: root/util/fixme.sql
blob: 91d8ad4ff8d4ded6dd91852b5bd2117f6c5a22fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                          
-- Run this with mysql or import into phpmyadmin if you installed mistpark between Sep22 and Oct 6 2010.
-- The database schema was missing some updates

ALTER TABLE `item` DROP `like`, DROP `dislike` ;

ALTER TABLE `item` ADD `verb` CHAR( 255 ) NOT NULL AFTER `body` ,
		ADD `object-type` CHAR( 255 ) NOT NULL AFTER `verb` ,
		ADD `object` TEXT NOT NULL AFTER `object-type` ;

ALTER TABLE `intro` ADD `duplex` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `knowyou` ;
ALTER TABLE `contact` ADD `duplex` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `rel` ;
ALTER TABLE `contact` ADD `term-date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `avatar-date`;