Skip to content

Commit

Permalink
DB scripts for 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Nov 16, 2024
1 parent 4ac9522 commit 8e6b1dd
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 43 deletions.
19 changes: 11 additions & 8 deletions Database/MySql/Dump.sql
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,15 @@ CREATE TABLE `ArticleType` (
`LastUpdateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL,
`LastUpdateByName` VARCHAR(100) CHARACTER SET utf8mb4 NULL,
`LastUpdateDate` DATETIME NULL,
`DisplayOrder` INT NULL,
PRIMARY KEY (`ID`)
);

/*!40000 ALTER TABLE `ArticleType` DISABLE KEYS */;
INSERT INTO `ArticleType` VALUES
(1,'新闻',NULL,0,NULL,1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:18.000','admin','ZKEASOFT','2017-10-15 18:18:33.430'),
(2,'公司新闻',NULL,1,'company',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:24.000','admin','ZKEASOFT','2018-08-15 15:31:38.346'),
(3,'行业新闻',NULL,1,'industry',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:29.000','admin','ZKEASOFT','2018-08-15 15:31:42.810');
(1,'新闻',NULL,0,'news',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:18.000','admin','ZKEASOFT','2024-11-16 13:53:08.751',NULL),
(2,'公司新闻',NULL,1,'company',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:24.000','admin','ZKEASOFT','2018-08-15 15:31:38.346',NULL),
(3,'行业新闻',NULL,1,'industry',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:29.000','admin','ZKEASOFT','2018-08-15 15:31:42.810',NULL);
/*!40000 ALTER TABLE `ArticleType` ENABLE KEYS */;

DROP TABLE IF EXISTS `ArticleTypeWidget`;
Expand Down Expand Up @@ -1342,7 +1343,7 @@ CREATE TABLE `DBVersion` (

/*!40000 ALTER TABLE `DBVersion` DISABLE KEYS */;
INSERT INTO `DBVersion` VALUES
(1,4,0,0,0);
(1,4,2,0,0);
/*!40000 ALTER TABLE `DBVersion` ENABLE KEYS */;

DROP TABLE IF EXISTS `EA_ActionBody`;
Expand Down Expand Up @@ -2059,14 +2060,15 @@ CREATE TABLE `ProductCategory` (
`LastUpdateBy` VARCHAR(50) CHARACTER SET utf8mb4 NULL,
`LastUpdateByName` VARCHAR(100) CHARACTER SET utf8mb4 NULL,
`LastUpdateDate` DATETIME NULL,
`DisplayOrder` INT NULL,
PRIMARY KEY (`ID`)
);

/*!40000 ALTER TABLE `ProductCategory` DISABLE KEYS */;
INSERT INTO `ProductCategory` VALUES
(1,'产品',NULL,0,NULL,1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:49:32.000','admin','ZKEASOFT','2017-11-17 15:10:08.193'),
(2,'耳机',NULL,1,'headset',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:49:50.000','admin','ZKEASOFT','2018-08-15 15:30:59.233'),
(3,'键盘',NULL,1,'keyboard',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:07.000','admin','ZKEASOFT','2018-08-15 15:31:08.063');
(1,'产品',NULL,0,'products',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:49:32.000','admin','ZKEASOFT','2024-11-16 13:53:22.181',NULL),
(2,'耳机',NULL,1,'headset',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:49:50.000','admin','ZKEASOFT','2018-08-15 15:30:59.233',NULL),
(3,'键盘',NULL,1,'keyboard',1,NULL,NULL,NULL,'admin','ZKEASOFT','2016-03-10 13:50:07.000','admin','ZKEASOFT','2018-08-15 15:31:08.063',NULL);
/*!40000 ALTER TABLE `ProductCategory` ENABLE KEYS */;

DROP TABLE IF EXISTS `ProductCategoryTag`;
Expand Down Expand Up @@ -2717,7 +2719,7 @@ CREATE TABLE `Users` (

/*!40000 ALTER TABLE `Users` DISABLE KEYS */;
INSERT INTO `Users` VALUES
('admin','8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918',NULL,'2020-11-10 21:40:58.163','::1','~/images/head.png',0,'ZKEASOFT',1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Admin',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,'admin','Admin','2020-11-10 21:40:58.183',1,NULL,NULL,NULL);
('admin','8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918',NULL,'2024-11-16 13:52:55.285','::1','~/images/head.png',0,'ZKEASOFT',1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Admin',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,'admin','Admin','2024-11-16 13:52:55.291',1,NULL,NULL,NULL);
/*!40000 ALTER TABLE `Users` ENABLE KEYS */;

DROP TABLE IF EXISTS `Video`;
Expand Down Expand Up @@ -2818,6 +2820,7 @@ CREATE TABLE `VideoType` (
`LastUpdateDate` DATETIME NULL,
`ContentID` VARCHAR(100) CHARACTER SET utf8mb4 NULL,
`CultureID` INT NULL,
`DisplayOrder` INT NULL,
PRIMARY KEY (`ID`)
);

Expand Down
Loading

0 comments on commit 8e6b1dd

Please sign in to comment.