USE [CLIENT]
GO

/****** Object:  Table [dbo].[ClientUpdateRun]    Script Date: 2020.05.11. 8:58:59 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[ClientUpdateRun](
	[runId] [int] IDENTITY(1,1) NOT NULL,
	[packageId] [int] NOT NULL,
	[userId] [int] NOT NULL,
	[datum] [smalldatetime] NOT NULL,
 CONSTRAINT [PK_ClientUpdateRun] PRIMARY KEY CLUSTERED 
(
	[runId] 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 TABLE [dbo].[ClientUpdateRun] ADD  CONSTRAINT [DF_ClientUpdateRun_datum]  DEFAULT (getdate()) FOR [datum]
GO


