USE [db_edits]
GO

/****** Object:  Table [dbo].[m_status_audit]    Script Date: 03/02/2018 14:45:43 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[m_status_audit](
	[id_status_audit] [int] IDENTITY(1,1) NOT NULL,
	[description] [varchar](50) NOT NULL,
	[is_follow_up] [bit] NULL,
	[is_complience] [bit] NULL,
	[created_by] [varchar](8) NOT NULL,
	[created_date] [datetime] NOT NULL,
	[modified_by] [varchar](8) NULL,
	[modified_date] [datetime] NULL,
	[is_delete] [tinyint] NOT NULL,
 CONSTRAINT [PK_m_status_audit] PRIMARY KEY CLUSTERED 
(
	[id_status_audit] 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

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[m_status_audit] ADD  CONSTRAINT [DF_m_status_audit_is_delete]  DEFAULT ((0)) FOR [is_delete]
GO


