USE [site_fuchs] GO /****** Object: Index [ocms_templates__ix1] Script Date: 02.12.2020 21:05:05 ******/ DROP INDEX [ocms_templates__ix1] ON [dbo].[ocms_templates] GO /****** Object: Table [dbo].[ocms_templates] Script Date: 02.12.2020 21:05:05 ******/ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ocms_templates]') AND type in (N'U')) DROP TABLE [dbo].[ocms_templates] GO /****** Object: Table [dbo].[ocms_templates] Script Date: 02.12.2020 21:05:06 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[ocms_templates]( [ocms_tid] [bigint] IDENTITY(1,1) NOT NULL, [name] [varchar](255) NULL, [partial_view] [varchar](255) NULL, CONSTRAINT [PK_ocms_templates] PRIMARY KEY CLUSTERED ( [ocms_tid] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO ALTER AUTHORIZATION ON [dbo].[ocms_templates] TO SCHEMA OWNER GO SET ANSI_PADDING ON GO /****** Object: Index [ocms_templates__ix1] Script Date: 02.12.2020 21:05:06 ******/ CREATE UNIQUE NONCLUSTERED INDEX [ocms_templates__ix1] ON [dbo].[ocms_templates] ( [name] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO