CreateAssetsTable.sql 616 B

1234567891011121314151617181920
  1. SET ANSI_NULLS ON
  2. SET QUOTED_IDENTIFIER ON
  3. SET ANSI_PADDING ON
  4. CREATE TABLE [assets] (
  5. [id] [varchar](36) NOT NULL,
  6. [name] [varchar](64) NOT NULL,
  7. [description] [varchar](64) NOT NULL,
  8. [mediaURL] [varchar](255) NOT NULL,
  9. [assetType] [tinyint] NOT NULL,
  10. [invType] [tinyint] NOT NULL,
  11. [local] [tinyint] NOT NULL,
  12. [temporary] [tinyint] NOT NULL,
  13. [data] [image] NOT NULL,
  14. PRIMARY KEY CLUSTERED
  15. (
  16. [id] ASC
  17. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  18. ) ON [PRIMARY]
  19. SET ANSI_PADDING OFF