Skip to content

Commit

Permalink
MySQL:更新表
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Dec 10, 2018
1 parent 096c902 commit a54385c
Show file tree
Hide file tree
Showing 15 changed files with 53 additions and 53 deletions.
6 changes: 3 additions & 3 deletions MySQL/sys_Access.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DROP TABLE IF EXISTS `Access`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Access` (
`id` bigint(15) NOT NULL AUTO_INCREMENT COMMENT '唯一标识',
`schema` varchar(20) NOT NULL DEFAULT 'sys',
`schema` varchar(20) NOT NULL DEFAULT 'sys' COMMENT '集合空间',
`name` varchar(50) NOT NULL COMMENT '实际表名,例如 apijson_user',
`alias` varchar(20) DEFAULT NULL COMMENT '外部调用的表别名,例如 User',
`get` varchar(100) NOT NULL DEFAULT '["UNKNOWN", "LOGIN", "CONTACT", "CIRCLE", "OWNER", "ADMIN"]' COMMENT '允许 get 的角色列表,例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]\n用 JSON 类型不能设置默认值,反正权限对应的需求是明确的,也不需要自动转 JSONArray。',
Expand All @@ -34,7 +34,7 @@ CREATE TABLE `Access` (
`post` varchar(100) NOT NULL DEFAULT '["OWNER", "ADMIN"]' COMMENT '允许 post 的角色列表,例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]',
`put` varchar(100) NOT NULL DEFAULT '["OWNER", "ADMIN"]' COMMENT '允许 put 的角色列表,例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]',
`delete` varchar(100) NOT NULL DEFAULT '["OWNER", "ADMIN"]' COMMENT '允许 delete 的角色列表,例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]',
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COMMENT='权限配置';
Expand All @@ -59,4 +59,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-29 0:48:55
-- Dump completed on 2018-12-10 23:39:35
8 changes: 4 additions & 4 deletions MySQL/sys_Comment.sql

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions MySQL/sys_Document.sql

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions MySQL/sys_Function.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -53,4 +53,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:27
-- Dump completed on 2018-12-10 23:39:30
6 changes: 3 additions & 3 deletions MySQL/sys_Login.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:31
-- Dump completed on 2018-12-10 23:39:39
8 changes: 4 additions & 4 deletions MySQL/sys_Moment.sql

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions MySQL/sys_Praise.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:30
-- Dump completed on 2018-12-10 23:39:37
6 changes: 3 additions & 3 deletions MySQL/sys_Request.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -53,4 +53,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:29
-- Dump completed on 2018-12-10 23:39:34
6 changes: 3 additions & 3 deletions MySQL/sys_Response.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -53,4 +53,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:32
-- Dump completed on 2018-12-10 23:39:40
6 changes: 3 additions & 3 deletions MySQL/sys_Test.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -47,4 +47,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:31
-- Dump completed on 2018-12-10 23:39:38
6 changes: 3 additions & 3 deletions MySQL/sys_TestRecord.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -53,4 +53,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:28
-- Dump completed on 2018-12-10 23:39:32
10 changes: 5 additions & 5 deletions MySQL/sys_Verify.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand All @@ -29,7 +29,7 @@ CREATE TABLE `Verify` (
`verify` int(6) NOT NULL COMMENT '验证码',
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1541880936401 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=1544435803070 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand All @@ -38,7 +38,7 @@ CREATE TABLE `Verify` (

LOCK TABLES `Verify` WRITE;
/*!40000 ALTER TABLE `Verify` DISABLE KEYS */;
INSERT INTO `Verify` VALUES (1527950171719,1,130000844444,10375,'2018-06-02 14:36:11'),(1528250810515,1,15122820115,2586,'2018-06-06 02:06:50'),(1528254139866,1,15225556855,8912,'2018-06-06 03:02:19'),(1528255485691,1,15822798927,2101,'2018-06-06 03:24:45'),(1528264687329,1,15620878773,3991,'2018-06-06 05:58:07'),(1528269508031,1,18616024605,4901,'2018-06-06 07:18:28'),(1528289406640,1,13142033348,3005,'2018-06-06 12:50:06'),(1528327843188,0,15122820115,4912,'2018-06-06 23:30:43'),(1528330720259,2,15122820115,5267,'2018-06-07 00:18:40'),(1528339646013,1,15122541683,6112,'2018-06-07 02:47:26'),(1528344962707,1,15188899797,4540,'2018-06-07 04:16:02'),(1528345364195,2,15122541683,10500,'2018-06-07 04:22:44'),(1528345372998,0,15122541683,9940,'2018-06-07 04:22:53'),(1528356342784,2,15620878773,2076,'2018-06-07 07:25:42'),(1528356449927,1,15620878772,4733,'2018-06-07 07:27:29'),(1528411937273,0,15620878772,7375,'2018-06-07 22:52:17'),(1531793525394,1,15629184762,9737,'2018-07-17 02:12:05'),(1531969702694,1,13800138000,8213,'2018-07-19 03:08:22'),(1531983017848,2,13800138000,1552,'2018-07-19 06:50:17'),(1532188103364,1,13977757845,8753,'2018-07-21 15:48:23'),(1532439015405,1,18779607703,10136,'2018-07-24 13:30:15'),(1533179508773,1,13466260815,4424,'2018-08-02 03:11:48'),(1533450371245,1,18911061423,5795,'2018-08-05 06:26:11'),(1533618759900,1,13977757843,10204,'2018-08-07 05:12:39'),(1533627819054,1,13107695518,7515,'2018-08-07 07:43:39'),(1533693421836,1,15901373410,4884,'2018-08-08 01:57:01'),(1533698902309,1,18664900086,3654,'2018-08-08 03:28:22'),(1533723898511,1,8881816,5272,'2018-08-08 10:24:58'),(1533835163777,1,13977757846,9332,'2018-08-09 17:19:23'),(1534142797624,2,13977757845,4136,'2018-08-13 06:46:37'),(1534142802751,0,13977757845,5754,'2018-08-13 06:46:42'),(1534671951719,1,13000082023,5869,'2018-08-19 09:45:51'),(1534671960833,1,13000082013,6169,'2018-08-19 09:46:00'),(1534671980295,1,13000082032,10171,'2018-08-19 09:46:20'),(1534672028733,0,13000093793,6478,'2018-08-19 09:47:08'),(1534898613829,1,17755531490,3961,'2018-08-22 00:43:33'),(1534926287534,1,17602120205,5297,'2018-08-22 08:24:47'),(1535345181813,1,13000082022,8145,'2018-08-27 04:46:21'),(1536220749108,1,13241042199,9916,'2018-09-06 07:59:09'),(1536583466723,1,18013819609,2483,'2018-09-10 12:44:26'),(1536805630726,0,13000070793,1798,'2018-09-13 02:27:10'),(1537515268266,2,13000038710,4171,'2018-09-21 07:34:28'),(1537515280163,2,13000038713,5877,'2018-09-21 07:34:40'),(1537515287973,2,13000038714,10441,'2018-09-21 07:34:47'),(1537515337629,1,13000033333,7353,'2018-09-21 07:35:37'),(1537521269910,1,13000012345,3631,'2018-09-21 09:14:29'),(1537521279290,1,13000049499,2854,'2018-09-21 09:14:39'),(1538114970328,1,15855512382,10359,'2018-09-28 06:09:30'),(1538504245612,1,13000087654,10791,'2018-10-02 18:17:25'),(1538504485798,1,13000087655,4776,'2018-10-02 18:21:25'),(1538987940551,1,18662327672,1800,'2018-10-08 08:39:00'),(1539076064496,1,15094295280,3361,'2018-10-09 09:07:44'),(1539076102284,1,15094395280,1562,'2018-10-09 09:08:22'),(1540364623910,1,13000085001,4382,'2018-10-24 07:03:43'),(1540966375865,1,13122091271,3880,'2018-10-31 06:12:55'),(1541427928139,0,13759127249,5913,'2018-11-05 14:25:28'),(1541500666143,1,15280239960,9142,'2018-11-06 10:37:46'),(1541510152560,1,13000099999,1097,'2018-11-06 13:15:52'),(1541510270190,1,13000077777,8192,'2018-11-06 13:17:50'),(1541567684448,2,13000082001,10862,'2018-11-07 05:14:44'),(1541583746916,1,18689846285,8724,'2018-11-07 09:42:26'),(1541589649569,1,13000082001,8832,'2018-11-07 11:20:49'),(1541724338244,0,13000038710,8283,'2018-11-09 00:45:38'),(1541757538733,1,17717112856,2268,'2018-11-09 09:58:58'),(1541880936400,0,13000082001,9504,'2018-11-10 20:15:48');
INSERT INTO `Verify` VALUES (1527950171719,1,130000844444,10375,'2018-06-02 14:36:11'),(1528250810515,1,15122820115,2586,'2018-06-06 02:06:50'),(1528254139866,1,15225556855,8912,'2018-06-06 03:02:19'),(1528255485691,1,15822798927,2101,'2018-06-06 03:24:45'),(1528264687329,1,15620878773,3991,'2018-06-06 05:58:07'),(1528269508031,1,18616024605,4901,'2018-06-06 07:18:28'),(1528289406640,1,13142033348,3005,'2018-06-06 12:50:06'),(1528327843188,0,15122820115,4912,'2018-06-06 23:30:43'),(1528330720259,2,15122820115,5267,'2018-06-07 00:18:40'),(1528339646013,1,15122541683,6112,'2018-06-07 02:47:26'),(1528344962707,1,15188899797,4540,'2018-06-07 04:16:02'),(1528345364195,2,15122541683,10500,'2018-06-07 04:22:44'),(1528345372998,0,15122541683,9940,'2018-06-07 04:22:53'),(1528356342784,2,15620878773,2076,'2018-06-07 07:25:42'),(1528356449927,1,15620878772,4733,'2018-06-07 07:27:29'),(1528411937273,0,15620878772,7375,'2018-06-07 22:52:17'),(1531793525394,1,15629184762,9737,'2018-07-17 02:12:05'),(1531969702694,1,13800138000,8213,'2018-07-19 03:08:22'),(1531983017848,2,13800138000,1552,'2018-07-19 06:50:17'),(1532188103364,1,13977757845,8753,'2018-07-21 15:48:23'),(1532439015405,1,18779607703,10136,'2018-07-24 13:30:15'),(1533450371245,1,18911061423,5795,'2018-08-05 06:26:11'),(1533618759900,1,13977757843,10204,'2018-08-07 05:12:39'),(1533627819054,1,13107695518,7515,'2018-08-07 07:43:39'),(1533693421836,1,15901373410,4884,'2018-08-08 01:57:01'),(1533698902309,1,18664900086,3654,'2018-08-08 03:28:22'),(1533723898511,1,8881816,5272,'2018-08-08 10:24:58'),(1533835163777,1,13977757846,9332,'2018-08-09 17:19:23'),(1534142797624,2,13977757845,4136,'2018-08-13 06:46:37'),(1534142802751,0,13977757845,5754,'2018-08-13 06:46:42'),(1534671951719,1,13000082023,5869,'2018-08-19 09:45:51'),(1534671960833,1,13000082013,6169,'2018-08-19 09:46:00'),(1534671980295,1,13000082032,10171,'2018-08-19 09:46:20'),(1534672028733,0,13000093793,6478,'2018-08-19 09:47:08'),(1534898613829,1,17755531490,3961,'2018-08-22 00:43:33'),(1534926287534,1,17602120205,5297,'2018-08-22 08:24:47'),(1535345181813,1,13000082022,8145,'2018-08-27 04:46:21'),(1536220749108,1,13241042199,9916,'2018-09-06 07:59:09'),(1536583466723,1,18013819609,2483,'2018-09-10 12:44:26'),(1536805630726,0,13000070793,1798,'2018-09-13 02:27:10'),(1537515268266,2,13000038710,4171,'2018-09-21 07:34:28'),(1537515280163,2,13000038713,5877,'2018-09-21 07:34:40'),(1537515287973,2,13000038714,10441,'2018-09-21 07:34:47'),(1537515337629,1,13000033333,7353,'2018-09-21 07:35:37'),(1537521279290,1,13000049499,2854,'2018-09-21 09:14:39'),(1538114970328,1,15855512382,10359,'2018-09-28 06:09:30'),(1538504245612,1,13000087654,10791,'2018-10-02 18:17:25'),(1538504485798,1,13000087655,4776,'2018-10-02 18:21:25'),(1538987940551,1,18662327672,1800,'2018-10-08 08:39:00'),(1539076064496,1,15094295280,3361,'2018-10-09 09:07:44'),(1539076102284,1,15094395280,1562,'2018-10-09 09:08:22'),(1540364623910,1,13000085001,4382,'2018-10-24 07:03:43'),(1540966375865,1,13122091271,3880,'2018-10-31 06:12:55'),(1541427928139,0,13759127249,5913,'2018-11-05 14:25:28'),(1541500666143,1,15280239960,9142,'2018-11-06 10:37:46'),(1541510152560,1,13000099999,1097,'2018-11-06 13:15:52'),(1541510270190,1,13000077777,8192,'2018-11-06 13:17:50'),(1541583746916,1,18689846285,8724,'2018-11-07 09:42:26'),(1541724338244,0,13000038710,8283,'2018-11-09 00:45:38'),(1541757538733,1,17717112856,2268,'2018-11-09 09:58:58'),(1542261432641,1,15800506515,2586,'2018-11-15 05:57:12'),(1542265654497,1,18010001000,5666,'2018-11-15 07:07:34'),(1542337959344,1,13000012345,4981,'2018-11-16 03:12:39'),(1542352629436,1,13000082002,10212,'2018-11-16 07:17:09'),(1542548523509,1,13317833374,8921,'2018-11-18 13:42:03'),(1542702268195,1,123123,8055,'2018-11-20 08:24:28'),(1542840424025,1,13818118257,7126,'2018-11-21 22:47:04'),(1543377157089,1,18622250185,6620,'2018-11-28 03:52:37'),(1543966631575,1,13466260815,5835,'2018-12-04 23:37:11'),(1544276193603,1,13000087656,4078,'2018-12-08 13:36:33'),(1544276277509,2,13000087656,9356,'2018-12-08 13:37:57'),(1544276305800,0,13000087656,8708,'2018-12-08 13:38:25'),(1544276475231,1,15988125475,8940,'2018-12-08 13:41:15'),(1544330873356,2,13000082001,10215,'2018-12-09 04:47:53'),(1544330878428,1,13000082001,2377,'2018-12-09 04:47:58'),(1544435803069,0,13000082001,9734,'2018-12-10 09:56:43');
/*!40000 ALTER TABLE `Verify` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
Expand All @@ -51,4 +51,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:28
-- Dump completed on 2018-12-10 23:39:33
6 changes: 3 additions & 3 deletions MySQL/sys__Visit.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- MySQL dump 10.13 Distrib 5.7.17, for macos10.12 (x86_64)
--
-- Host: localhost Database: sys
-- Host: 47.98.196.224 Database: sys
-- ------------------------------------------------------
-- Server version 5.7.17
-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down Expand Up @@ -48,4 +48,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-11-11 4:18:29
-- Dump completed on 2018-12-10 23:39:34
Loading

0 comments on commit a54385c

Please sign in to comment.