Commits

sk89q authored 7cd67281bcd
Move extraneous files to contrib/, added region_storage_update_20110325.sql to assembly.
No tags

contrib/blacklist_table.sql

Moved
1 --- Blacklist table for MySQL.
2 --- You must still configure WorldGuard to use your database.
3 --- If you do not plan on using a database for logging blacklist events,
4 --- you do not need to do anything with this file.
5 -
6 -CREATE TABLE `blacklist_events` (
7 - `id` int(11) NOT NULL AUTO_INCREMENT,
8 - `event` varchar(25) NOT NULL,
9 - `world` varchar(32) NOT NULL,
10 - `player` varchar(16) NOT NULL,
11 - `x` int(11) NOT NULL,
12 - `y` int(11) NOT NULL,
13 - `z` int(11) NOT NULL,
14 - `item` int(11) NOT NULL,
15 - `time` int(11) NOT NULL,
16 - `comment` varchar(255) NULL,
17 - PRIMARY KEY (`id`)
18 -);
19 -
20 --- Required update if you have an older version of the table:
21 -
22 -ALTER TABLE `blacklist_events` ADD `comment` VARCHAR( 255 ) NULL
23 -
1 +-- Blacklist table for MySQL.
2 +-- You must still configure WorldGuard to use your database.
3 +-- If you do not plan on using a database for logging blacklist events,
4 +-- you do not need to do anything with this file.
5 +
6 +CREATE TABLE `blacklist_events` (
7 + `id` int(11) NOT NULL AUTO_INCREMENT,
8 + `event` varchar(25) NOT NULL,
9 + `world` varchar(32) NOT NULL,
10 + `player` varchar(16) NOT NULL,
11 + `x` int(11) NOT NULL,
12 + `y` int(11) NOT NULL,
13 + `z` int(11) NOT NULL,
14 + `item` int(11) NOT NULL,
15 + `time` int(11) NOT NULL,
16 + `comment` varchar(255) NULL,
17 + PRIMARY KEY (`id`)
18 +);
19 +
20 +-- Required update if you have an older version of the table:
21 +
22 +ALTER TABLE `blacklist_events` ADD `comment` VARCHAR( 255 ) NULL
23 +
24 24 ALTER TABLE `blacklist_events` ADD `world` VARCHAR( 32 ) NOT NULL

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut