diff options
Diffstat (limited to 'sql/ossearch-migrations.sql')
-rw-r--r-- | sql/ossearch-migrations.sql | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sql/ossearch-migrations.sql b/sql/ossearch-migrations.sql new file mode 100644 index 0000000..65b4cad --- /dev/null +++ b/sql/ossearch-migrations.sql | |||
@@ -0,0 +1,36 @@ | |||
1 | #This file updates the tables used by OpenSimSearch to the latest schema. | ||
2 | #Use this file if you are updating an existing installation of the search | ||
3 | #module. If you are doing a first time install, use the ossearch.sql file. | ||
4 | |||
5 | #SVN revision 126 | ||
6 | BEGIN; | ||
7 | ALTER TABLE `parcelsales` CHANGE `mature` `mature` varchar(32) NOT NULL DEFAULT 'PG'; | ||
8 | COMMIT; | ||
9 | |||
10 | #SVN revision 142 | ||
11 | BEGIN; | ||
12 | ALTER TABLE `hostsregister` DROP `lastcheck`; | ||
13 | ALTER TABLE `hostsregister` ADD `nextcheck` int(10) NOT NULL AFTER `register`; | ||
14 | ALTER TABLE `hostsregister` ADD `checked` tinyint(1) NOT NULL AFTER `nextcheck`; | ||
15 | ALTER TABLE `hostsregister` CHANGE `failcounter` `failcounter` int(10) NOT NULL; | ||
16 | COMMIT; | ||
17 | |||
18 | #SVN revision 149 | ||
19 | BEGIN; | ||
20 | ALTER TABLE `events` DROP `mature`; | ||
21 | ALTER TABLE `events` CHANGE `eventflags` `eventflags` tinyint(1) NOT NULL; | ||
22 | ALTER TABLE `parcels` ADD `mature` VARCHAR( 10 ) NOT NULL; | ||
23 | ALTER TABLE `parcelsales` CHANGE `mature` `mature` VARCHAR( 10 ) NOT NULL DEFAULT 'PG'; | ||
24 | ALTER TABLE `popularplaces` CHANGE `has_picture` `has_picture` tinyint(1) NOT NULL; | ||
25 | COMMIT; | ||
26 | |||
27 | #SVN revision 153 | ||
28 | BEGIN; | ||
29 | ALTER TABLE `parcels` CHANGE `mature` `mature` VARCHAR( 10 ) NOT NULL DEFAULT 'PG'; | ||
30 | COMMIT; | ||
31 | |||
32 | #SVN revision 154 | ||
33 | BEGIN; | ||
34 | ALTER TABLE `events` CHANGE `dateUTC` `dateUTC` int(10) NOT NULL; | ||
35 | ALTER TABLE `events` CHANGE `covercharge` `covercharge` tinyint(1) NOT NULL; | ||
36 | COMMIT; | ||