mirror of
https://github.com/opensim/opensim.git
synced 2026-05-16 03:36:04 +08:00
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
19 lines
526 B
SQL
19 lines
526 B
SQL
SET ANSI_NULLS ON
|
|
SET QUOTED_IDENTIFIER ON
|
|
SET ANSI_PADDING ON
|
|
CREATE TABLE [assets] (
|
|
[id] [varchar](36) NOT NULL,
|
|
[name] [varchar](64) NOT NULL,
|
|
[description] [varchar](64) NOT NULL,
|
|
[assetType] [tinyint] NOT NULL,
|
|
[local] [tinyint] NOT NULL,
|
|
[temporary] [tinyint] NOT NULL,
|
|
[data] [image] NOT NULL,
|
|
PRIMARY KEY CLUSTERED
|
|
(
|
|
[id] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY]
|
|
|
|
SET ANSI_PADDING OFF
|