Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Fixed SQL conflict in install script. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions _release/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ DROP TABLE IF EXISTS `%PREFIX%PagePosts`;
DROP TABLE IF EXISTS `%PREFIX%PageReferences`;
DROP TABLE IF EXISTS `%PREFIX%Photos`;
DROP TABLE IF EXISTS `%PREFIX%PrivacySettings`;
DROP TABLE IF EXISTS `%PREFIX%PhotoSets`;
DROP TABLE IF EXISTS `%PREFIX%RemoteTokens`;
DROP TABLE IF EXISTS `%PREFIX%SchemaVersions`;
DROP TABLE IF EXISTS `%PREFIX%SearchIndexes`;
Expand Down Expand Up @@ -85,7 +84,6 @@ CREATE TABLE `%PREFIX%NotificationsUpdated` ( `Updated_PK` int(11) NOT NULL AUTO
CREATE TABLE `%PREFIX%PageLinks` ( `Link_PK` int(11) NOT NULL AUTO_INCREMENT, `User_FK` int(11) DEFAULT NULL, `Owner` char(64) DEFAULT NULL, `Identifier` char(32) DEFAULT NULL, `Content` text, `Link` char(255) DEFAULT NULL, `Title` char(64) DEFAULT NULL, `Description` text, `Thumb` char(255) DEFAULT NULL, PRIMARY KEY (`Link_PK`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `%PREFIX%PagePosts` ( `Post_PK` int(11) NOT NULL AUTO_INCREMENT, `User_FK` int(11) NOT NULL, `Owner` char(64) DEFAULT NULL, `Identifier` char(32) DEFAULT NULL, `Content` text, `Current` tinyint(1) DEFAULT NULL, PRIMARY KEY (`Post_PK`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `%PREFIX%PageReferences` ( `Reference_PK` int(11) NOT NULL AUTO_INCREMENT, `User_FK` int(11) NOT NULL, `Identifier` char(32) DEFAULT NULL, `Type` char(16) DEFAULT NULL, `Stamp` datetime DEFAULT NULL, PRIMARY KEY (`Reference_PK`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
CREATE TABLE `%PREFIX%PhotoSets` ( `Set_PK` int(11) NOT NULL AUTO_INCREMENT, `Owner_FK` int(11) DEFAULT NULL, `Identifier` char(32) DEFAULT NULL, `Name` char(128) DEFAULT NULL, `Directory` char(128) DEFAULT NULL, `Description` text, `Created` datetime DEFAULT NULL, `Updated` datetime DEFAULT NULL, PRIMARY KEY (`Set_PK`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `%PREFIX%Photos` ( `Photo_PK` int(11) NOT NULL AUTO_INCREMENT, `Owner_FK` int(11) DEFAULT NULL, `Set_FK` int(11) DEFAULT NULL, `Identifier` char(32) DEFAULT NULL, `Filename` char(128) DEFAULT NULL, `Description` text, `Profile` tinyint(1) DEFAULT '0', `Created` datetime DEFAULT NULL, `Updated` datetime DEFAULT NULL, PRIMARY KEY (`Photo_PK`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `%PREFIX%PrivacySettings` ( `Setting_PK` int(11) NOT NULL AUTO_INCREMENT, `User_FK` int(11) NOT NULL, `Circle_FK` int(11) DEFAULT NULL, `Type` char(32) DEFAULT NULL, `Identifier` char(32) DEFAULT NULL, `Everybody` tinyint(1) DEFAULT NULL, `Friends` tinyint(1) DEFAULT NULL, PRIMARY KEY (`Setting_PK`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
CREATE TABLE `%PREFIX%RemoteTokens` ( `Token_PK` int(11) NOT NULL AUTO_INCREMENT, `Token` varchar(64) DEFAULT NULL, `Username` varchar(255) DEFAULT NULL, `Source` varchar(255) NOT NULL, `Address` varchar(255) DEFAULT NULL, `Host` varchar(255) DEFAULT NULL, `Stamp` datetime DEFAULT NULL, PRIMARY KEY (`Token_PK`)) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8;
Expand Down Expand Up @@ -148,4 +146,4 @@ INSERT INTO `%PREFIX%systemOptions` VALUES (1,'FORMATTING','No Formatting','0',0
INSERT INTO `%PREFIX%userAccess` VALUES (1,0000000001,'/',1,1,1,1,1);
INSERT INTO `%PREFIX%userIcons` VALUES (1,0000000001,'__noicon__','(no icon)',NULL);
INSERT INTO `%PREFIX%userProfile` VALUES (0000000001,'admin@localhost','Administrator','<center><b>I am root!</b></center>',NULL,'1969-10-31 00:00:00','11111',NULL);
INSERT INTO `%PREFIX%userQuestions` VALUES (1,'Where are you located?','LOCATION:',4,'en','',1),(2,'What is your screen name?','SCREEN NAME:',2,'en',NULL,1),(3,'What Instant Messaging service do you use?','IM TYPE:',0,'en','QIMSERVICE',1),(4,'What\'s your website address?','WEBSITE:',3,'en','',1),(5,'What is your relationship status?','STATUS:',0,'en','QSTATUS',1),(6,'What kind of relationship are you looking for?','HERE FOR:',1,'en','QHEREFOR',1),(7,'What\'s your hometown?','HOMETOWN:',2,'en','',1),(8,'How tall are you?','HEIGHT:',2,'en','',1),(9,'Describe your body type:','BODY TYPE:',0,'en','QBODYTYPE',1),(10,'What\'s your astrological sign?','SIGN:',0,'en','QASTROSIGN',1),(11,'Are you a smoker?','SMOKER:',0,'en','QSMOKER',1),(12,'Do you drink?','DRINKER:',0,'en','QDRINKER',1),(13,'What is your blood type?','BLOOD TYPE:',0,'en','QBLOODTYPE',1),(14,'Describe your occupation:','OCCUPATON:',2,'en','',1),(15,'List some of your general interests (seperated by commas):','GENERAL:',4,'en','',1),(16,'List some of your favorite music groups:','MUSIC:',4,'en','',1),(17,'List some of your favorite movies:','MOVIES:',4,'en','',1),(18,'List some of your favorite books:','BOOKS:',4,'en','',1);
INSERT INTO `%PREFIX%userQuestions` VALUES (1,'Where are you located?','LOCATION:',4,'en','',1),(2,'What is your screen name?','SCREEN NAME:',2,'en',NULL,1),(3,'What Instant Messaging service do you use?','IM TYPE:',0,'en','QIMSERVICE',1),(4,'What\'s your website address?','WEBSITE:',3,'en','',1),(5,'What is your relationship status?','STATUS:',0,'en','QSTATUS',1),(6,'What kind of relationship are you looking for?','HERE FOR:',1,'en','QHEREFOR',1),(7,'What\'s your hometown?','HOMETOWN:',2,'en','',1),(8,'How tall are you?','HEIGHT:',2,'en','',1),(9,'Describe your body type:','BODY TYPE:',0,'en','QBODYTYPE',1),(10,'What\'s your astrological sign?','SIGN:',0,'en','QASTROSIGN',1),(11,'Are you a smoker?','SMOKER:',0,'en','QSMOKER',1),(12,'Do you drink?','DRINKER:',0,'en','QDRINKER',1),(13,'What is your blood type?','BLOOD TYPE:',0,'en','QBLOODTYPE',1),(14,'Describe your occupation:','OCCUPATON:',2,'en','',1),(15,'List some of your general interests (seperated by commas):','GENERAL:',4,'en','',1),(16,'List some of your favorite music groups:','MUSIC:',4,'en','',1),(17,'List some of your favorite movies:','MOVIES:',4,'en','',1),(18,'List some of your favorite books:','BOOKS:',4,'en','',1);