mirror of
https://github.com/kcozens/OpenSimSearch.git
synced 2026-08-14 00:47:59 +00:00
Corrected schema and added migrations for the popularplaces table.
Region category returned by Datasnapshot module is a string and not an integer.
This commit is contained in:
@@ -62,3 +62,9 @@ COMMIT;
|
||||
BEGIN;
|
||||
ALTER TABLE `events` ADD `parcelUUID` CHAR( 36 ) NOT NULL AFTER `simname`;
|
||||
COMMIT;
|
||||
|
||||
#Revision 9
|
||||
BEGIN;
|
||||
ALTER TABLE `popularplaces` CHANGE `mature` `mature` varchar(10) COLLATE utf8_unicode_ci NOT NULL;
|
||||
ALTER TABLE `popularplaces` ADD PRIMARY KEY (`parcelUUID`);
|
||||
COMMIT;
|
||||
|
||||
@@ -168,7 +168,8 @@ CREATE TABLE IF NOT EXISTS `popularplaces` (
|
||||
`dwell` float NOT NULL,
|
||||
`infoUUID` char(36) NOT NULL,
|
||||
`has_picture` tinyint(1) NOT NULL,
|
||||
`mature` tinyint(4) NOT NULL
|
||||
`mature` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`parcelUUID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user