CREATE TABLE [dbo].[wp_comments](
[comment_ID] [bigint] IDENTITY(1,1) NOT NULL,
[comment_post_ID] [int] NOT NULL,
[comment_author] [varchar](200) NOT NULL,
[comment_author_email] [varchar](100) NOT NULL,
[comment_author_url] [varchar](200) NOT NULL,
[comment_author_IP] [varchar](100) NOT NULL,
[comment_date] [datetime] NOT NULL,
[comment_date_gmt] [datetime] NOT NULL,
[comment_content] [text] NOT NULL,
[comment_karma] [int] NOT NULL,
[comment_approved] [varchar](20) NOT NULL,
[comment_agent] [varchar](255) NOT NULL,
[comment_type] [varchar](20) NOT NULL,
[comment_parent] [bigint] NOT NULL,
[user_id] [bigint] NOT NULL,
[comment_subscribe] [varchar](1) NOT NULL,
PRIMARY KEY CLUSTERED
(
[comment_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[wp_posts](
[ID] [bigint] NOT NULL,
[post_author] [bigint] NOT NULL,
[post_date] [datetime] NOT NULL,
[post_date_gmt] [datetime] NOT NULL,
[post_content] [text] NOT NULL,
[post_title] [text] NOT NULL,
[post_category] [int] NOT NULL,
[post_excerpt] [text] NOT NULL,
[post_status] [varchar](20) NOT NULL,
[comment_status] [varchar](20) NOT NULL,
[ping_status] [varchar](20) NOT NULL,
[post_password] [varchar](20) NOT NULL,
[post_name] [varchar](200) NOT NULL,
[to_ping] [text] NOT NULL,
[pinged] [text] NOT NULL,
[post_modified] [datetime] NOT NULL,
[post_modified_gmt] [datetime] NOT NULL,
[post_content_filtered] [text] NOT NULL,
[post_parent] [bigint] NOT NULL,
[guid] [varchar](255) NOT NULL,
[menu_order] [int] NOT NULL,
[post_type] [varchar](20) NOT NULL,
[post_mime_type] [varchar](100) NOT NULL,
[comment_count] [bigint] NOT NULL,
PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[wp_terms](
[term_id] [bigint] IDENTITY(1,1) NOT NULL,
[name] [varchar](200) NOT NULL,
[slug] [varchar](200) NOT NULL,
[term_group] [bigint] NOT NULL,
PRIMARY KEY CLUSTERED
(
[term_id] 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
CREATE TABLE [dbo].[wp_term_relationships](
[object_id] [bigint] NOT NULL,
[term_taxonomy_id] [bigint] NOT NULL,
[term_order] [int] NOT NULL,
PRIMARY KEY CLUSTERED
(
[object_id] ASC,
[term_taxonomy_id] 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
CREATE TABLE [dbo].[wp_term_taxonomy](
[term_taxonomy_id] [bigint] IDENTITY(1,1) NOT NULL,
[term_id] [bigint] NOT NULL,
[taxonomy] [varchar](32) NOT NULL,
[description] [text] NOT NULL,
[parent] [bigint] NOT NULL,
[count] [bigint] NOT NULL,
PRIMARY KEY CLUSTERED
(
[term_taxonomy_id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO