diff --git a/blacklist_table.sql b/contrib/blacklist_table.sql similarity index 97% rename from blacklist_table.sql rename to contrib/blacklist_table.sql index b708328f..a1336ba6 100644 --- a/blacklist_table.sql +++ b/contrib/blacklist_table.sql @@ -1,24 +1,24 @@ --- Blacklist table for MySQL. --- You must still configure WorldGuard to use your database. --- If you do not plan on using a database for logging blacklist events, --- you do not need to do anything with this file. - -CREATE TABLE `blacklist_events` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `event` varchar(25) NOT NULL, - `world` varchar(32) NOT NULL, - `player` varchar(16) NOT NULL, - `x` int(11) NOT NULL, - `y` int(11) NOT NULL, - `z` int(11) NOT NULL, - `item` int(11) NOT NULL, - `time` int(11) NOT NULL, - `comment` varchar(255) NULL, - PRIMARY KEY (`id`) -); - --- Required update if you have an older version of the table: - -ALTER TABLE `blacklist_events` ADD `comment` VARCHAR( 255 ) NULL - +-- Blacklist table for MySQL. +-- You must still configure WorldGuard to use your database. +-- If you do not plan on using a database for logging blacklist events, +-- you do not need to do anything with this file. + +CREATE TABLE `blacklist_events` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `event` varchar(25) NOT NULL, + `world` varchar(32) NOT NULL, + `player` varchar(16) NOT NULL, + `x` int(11) NOT NULL, + `y` int(11) NOT NULL, + `z` int(11) NOT NULL, + `item` int(11) NOT NULL, + `time` int(11) NOT NULL, + `comment` varchar(255) NULL, + PRIMARY KEY (`id`) +); + +-- Required update if you have an older version of the table: + +ALTER TABLE `blacklist_events` ADD `comment` VARCHAR( 255 ) NULL + ALTER TABLE `blacklist_events` ADD `world` VARCHAR( 32 ) NOT NULL \ No newline at end of file diff --git a/region_storage.sql b/contrib/region_storage.sql similarity index 100% rename from region_storage.sql rename to contrib/region_storage.sql diff --git a/region_storage_update_20110325.sql b/contrib/region_storage_update_20110325.sql similarity index 100% rename from region_storage_update_20110325.sql rename to contrib/region_storage_update_20110325.sql diff --git a/src/main/assembly/default.xml b/src/main/assembly/default.xml index 70d0fa94..dc089086 100644 --- a/src/main/assembly/default.xml +++ b/src/main/assembly/default.xml @@ -28,8 +28,9 @@ LICENSE.txt NOTICE.txt CHANGELOG.txt - blacklist_table.sql - region_storage.sql + contrib/blacklist_table.sql + contrib/region_storage.sql + contrib/region_storage_update_20110325.sql