get rid of the "drop if exists" lines in this old migration, as those

tables shouldn't exist yet, and the exists keyword is relatively new in
sqlite.  This has been breaking a lot of people on Suse Enterprise Linux,
for instance.
0.6.0-stable
Sean Dague 2008-08-27 17:32:02 +00:00
parent 788dff7090
commit f87f8b3b9f
1 changed files with 0 additions and 6 deletions

View File

@ -1,24 +1,20 @@
BEGIN TRANSACTION; BEGIN TRANSACTION;
drop table if exists estate_groups;
CREATE TABLE estate_groups ( CREATE TABLE estate_groups (
EstateID int(10) NOT NULL, EstateID int(10) NOT NULL,
uuid char(36) NOT NULL uuid char(36) NOT NULL
); );
drop table if exists estate_managers;
CREATE TABLE estate_managers ( CREATE TABLE estate_managers (
EstateID int(10) NOT NULL, EstateID int(10) NOT NULL,
uuid char(36) NOT NULL uuid char(36) NOT NULL
); );
drop table if exists estate_map;
CREATE TABLE estate_map ( CREATE TABLE estate_map (
RegionID char(36) NOT NULL default '00000000-0000-0000-0000-000000000000', RegionID char(36) NOT NULL default '00000000-0000-0000-0000-000000000000',
EstateID int(11) NOT NULL EstateID int(11) NOT NULL
); );
drop table if exists estate_settings;
CREATE TABLE estate_settings ( CREATE TABLE estate_settings (
EstateID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, EstateID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
EstateName varchar(64) default NULL, EstateName varchar(64) default NULL,
@ -49,7 +45,6 @@ CREATE TABLE estate_users (
uuid char(36) NOT NULL uuid char(36) NOT NULL
); );
drop table if exists estateban;
CREATE TABLE estateban ( CREATE TABLE estateban (
EstateID int(10) NOT NULL, EstateID int(10) NOT NULL,
bannedUUID varchar(36) NOT NULL, bannedUUID varchar(36) NOT NULL,
@ -58,7 +53,6 @@ CREATE TABLE estateban (
bannedNameMask varchar(64) default NULL bannedNameMask varchar(64) default NULL
); );
drop table if exists regionsettings;
CREATE TABLE regionsettings ( CREATE TABLE regionsettings (
regionUUID char(36) NOT NULL, regionUUID char(36) NOT NULL,
block_terraform int(11) NOT NULL, block_terraform int(11) NOT NULL,