Commit ffc99dd2 authored by Jason Song's avatar Jason Song Committed by GitHub

Merge pull request #1480 from ryphnyuan/master

Change column 'Username' in table 'Authorities' to varchar(64) #1467
parents 1f840e1f b37ec528
...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`; ...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`;
CREATE TABLE `Authorities` ( CREATE TABLE `Authorities` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id', `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
`Username` varchar(50) NOT NULL, `Username` varchar(64) NOT NULL,
`Authority` varchar(50) NOT NULL, `Authority` varchar(50) NOT NULL,
PRIMARY KEY (`Id`) PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
......
...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`; ...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`;
CREATE TABLE `Authorities` ( CREATE TABLE `Authorities` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id', `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
`Username` varchar(50) NOT NULL, `Username` varchar(64) NOT NULL,
`Authority` varchar(50) NOT NULL, `Authority` varchar(50) NOT NULL,
PRIMARY KEY (`Id`) PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
......
...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`; ...@@ -297,7 +297,7 @@ DROP TABLE IF EXISTS `Authorities`;
CREATE TABLE `Authorities` ( CREATE TABLE `Authorities` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id', `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
`Username` varchar(50) NOT NULL, `Username` varchar(64) NOT NULL,
`Authority` varchar(50) NOT NULL, `Authority` varchar(50) NOT NULL,
PRIMARY KEY (`Id`) PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment