mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Change the table and field names of XAssetService mysql db tables to be capitalized like Avatars, Friends, etc.
Also fixes access time being set on assets rather than XAssetsMeta This is to try and be somewhat consistent with other service tables that are mainly in this style. No migration is supplied, since nobody should be using this service yet except on a test basis.
This commit is contained in:
@@ -3,24 +3,24 @@
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE `xassetsmeta` (
|
||||
`id` char(36) NOT NULL,
|
||||
`hash` binary(32) NOT NULL,
|
||||
`name` varchar(64) NOT NULL,
|
||||
`description` varchar(64) NOT NULL,
|
||||
`asset_type` tinyint(4) NOT NULL,
|
||||
`local` tinyint(1) NOT NULL,
|
||||
`temporary` tinyint(1) NOT NULL,
|
||||
`create_time` int(11) NOT NULL,
|
||||
`access_time` int(11) NOT NULL,
|
||||
`asset_flags` int(11) NOT NULL,
|
||||
`creator_id` varchar(128) NOT NULL,
|
||||
CREATE TABLE `XAssetsMeta` (
|
||||
`ID` char(36) NOT NULL,
|
||||
`Hash` binary(32) NOT NULL,
|
||||
`Name` varchar(64) NOT NULL,
|
||||
`Description` varchar(64) NOT NULL,
|
||||
`AssetType` tinyint(4) NOT NULL,
|
||||
`Local` tinyint(1) NOT NULL,
|
||||
`Temporary` tinyint(1) NOT NULL,
|
||||
`CreateTime` int(11) NOT NULL,
|
||||
`AccessTime` int(11) NOT NULL,
|
||||
`AssetFlags` int(11) NOT NULL,
|
||||
`CreatorID` varchar(128) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version 1';
|
||||
|
||||
CREATE TABLE `xassetsdata` (
|
||||
`hash` binary(32) NOT NULL,
|
||||
`data` longblob NOT NULL,
|
||||
CREATE TABLE `XAssetsData` (
|
||||
`Hash` binary(32) NOT NULL,
|
||||
`Data` longblob NOT NULL,
|
||||
PRIMARY KEY (`hash`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version 1';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user