/*
 Navicat Premium Data Transfer

 Source Server         : SQLServer(本地)
 Source Server Type    : SQL Server
 Source Server Version : 15002000
 Source Host           : 127.0.0.1:1433
 Source Catalog        : imagedb
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 15002000
 File Encoding         : 65001

 Date: 02/12/2022 09:36:18
*/


-- ----------------------------
-- Table structure for CHANGERECORD
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[CHANGERECORD]') AND type IN ('U'))
	DROP TABLE [dbo].[CHANGERECORD]
GO

CREATE TABLE [dbo].[CHANGERECORD] (
  [UUID] varchar(255) COLLATE Chinese_PRC_CI_AS  NOT NULL,
  [MODIFYTIME] datetime  NULL,
  [EXPLAINTEXT] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL
)
GO

ALTER TABLE [dbo].[CHANGERECORD] SET (LOCK_ESCALATION = TABLE)
GO


-- ----------------------------
-- Primary Key structure for table CHANGERECORD
-- ----------------------------
ALTER TABLE [dbo].[CHANGERECORD] ADD CONSTRAINT [PK__ChangeRe__7F427930511FB049] PRIMARY KEY CLUSTERED ([UUID])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

