29 lines
1.8 KiB
Transact-SQL
29 lines
1.8 KiB
Transact-SQL
USE [site_fuchs]
|
|
GO
|
|
/****** Object: Table [dbo].[ocms_archive__items] Script Date: 02.12.2020 21:05:05 ******/
|
|
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ocms_archive__items]') AND type in (N'U'))
|
|
DROP TABLE [dbo].[ocms_archive__items]
|
|
GO
|
|
/****** Object: Table [dbo].[ocms_archive__items] Script Date: 02.12.2020 21:05:06 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
CREATE TABLE [dbo].[ocms_archive__items](
|
|
[ocms_iid] [bigint] NOT NULL,
|
|
[parent_iid] [bigint] NULL,
|
|
[ocms_pid] [bigint] NULL,
|
|
[name] [nvarchar](255) NULL,
|
|
[view] [bit] NOT NULL,
|
|
[template_id] [bigint] NULL,
|
|
[hide] [bit] NOT NULL,
|
|
[order] [int] NOT NULL,
|
|
[DateCreated] [datetime] NULL,
|
|
[DateModified] [datetime] NULL,
|
|
[DateDeleted] [datetime] NULL,
|
|
[UserDeleted] [varchar](36) NULL
|
|
) ON [PRIMARY]
|
|
GO
|
|
ALTER AUTHORIZATION ON [dbo].[ocms_archive__items] TO SCHEMA OWNER
|
|
GO
|