aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sql/ossearch-migrations.sql
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-03-15 01:05:46 +1000
committerDavid Walter Seikel2013-03-15 01:05:46 +1000
commit532787d4d1d0b59d9610f76276c2fd65fa039fb5 (patch)
tree86544df6f7785c21564ef22d8b3b2c9f1caef217 /sql/ossearch-migrations.sql
parentAdd backups directory. (diff)
downloadopensim-SC_OLD-532787d4d1d0b59d9610f76276c2fd65fa039fb5.zip
opensim-SC_OLD-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.gz
opensim-SC_OLD-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.bz2
opensim-SC_OLD-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.xz
Add the SQL update scripts.
Diffstat (limited to 'sql/ossearch-migrations.sql')
-rw-r--r--sql/ossearch-migrations.sql36
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
6BEGIN;
7ALTER TABLE `parcelsales` CHANGE `mature` `mature` varchar(32) NOT NULL DEFAULT 'PG';
8COMMIT;
9
10#SVN revision 142
11BEGIN;
12ALTER TABLE `hostsregister` DROP `lastcheck`;
13ALTER TABLE `hostsregister` ADD `nextcheck` int(10) NOT NULL AFTER `register`;
14ALTER TABLE `hostsregister` ADD `checked` tinyint(1) NOT NULL AFTER `nextcheck`;
15ALTER TABLE `hostsregister` CHANGE `failcounter` `failcounter` int(10) NOT NULL;
16COMMIT;
17
18#SVN revision 149
19BEGIN;
20ALTER TABLE `events` DROP `mature`;
21ALTER TABLE `events` CHANGE `eventflags` `eventflags` tinyint(1) NOT NULL;
22ALTER TABLE `parcels` ADD `mature` VARCHAR( 10 ) NOT NULL;
23ALTER TABLE `parcelsales` CHANGE `mature` `mature` VARCHAR( 10 ) NOT NULL DEFAULT 'PG';
24ALTER TABLE `popularplaces` CHANGE `has_picture` `has_picture` tinyint(1) NOT NULL;
25COMMIT;
26
27#SVN revision 153
28BEGIN;
29ALTER TABLE `parcels` CHANGE `mature` `mature` VARCHAR( 10 ) NOT NULL DEFAULT 'PG';
30COMMIT;
31
32#SVN revision 154
33BEGIN;
34ALTER TABLE `events` CHANGE `dateUTC` `dateUTC` int(10) NOT NULL;
35ALTER TABLE `events` CHANGE `covercharge` `covercharge` tinyint(1) NOT NULL;
36COMMIT;