SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Search_Feedback](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[memberid] [int] NOT NULL CONSTRAINT [DF_Search_Feedback_memberid]  DEFAULT ((0)),
	[keyword] [nvarchar](300) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Search_Feedback_keyword]  DEFAULT (''),
	[ismeet] [bit] NOT NULL CONSTRAINT [DF_Search_Feedback_ismeet]  DEFAULT ((0)),
	[result] [int] NOT NULL CONSTRAINT [DF_Search_Feedback_result]  DEFAULT ((0)),
	[intro] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Search_Feedback_intro]  DEFAULT (''),
	[ip] [nvarchar](20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Search_Feedback_ip]  DEFAULT (''),
	[os] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Search_Feedback_os]  DEFAULT (''),
	[browser] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Search_Feedback_browser]  DEFAULT (''),
	[addtime] [datetime] NOT NULL,
 CONSTRAINT [PK_Search_Feedback] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(搜索会员ID，0为游客)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'memberid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(搜索关键字)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'keyword'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(是否满意)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'ismeet'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(搜索结果数)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'result'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(搜索建议反馈)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'intro'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(访问IP)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'ip'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(操作系统)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'os'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(浏览器)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'browser'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'智能搜索反馈-记录表(添加时间)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Search_Feedback', @level2type=N'COLUMN', @level2name=N'addtime'
