Files
opensim/OpenSim/Data/MySQL/Resources/001_AssetStore.sql
Sean Dague 202a4bec13 Fix mysql migrations. This is tested with an existing up to date schema,
and no schema.  It should also work with a non up to date schema as well.

Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00

15 lines
375 B
PL/PgSQL

BEGIN;
CREATE TABLE `assets` (
`id` binary(16) NOT NULL,
`name` varchar(64) NOT NULL,
`description` varchar(64) NOT NULL,
`assetType` tinyint(4) NOT NULL,
`invType` tinyint(4) NOT NULL,
`local` tinyint(1) NOT NULL,
`temporary` tinyint(1) NOT NULL,
`data` longblob NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rev. 1';
COMMIT;