doc(user): 更新数据库脚本User表UserName列设置为16

This commit is contained in:
Argo Zhang 2019-05-18 16:14:13 +08:00
parent 7cf550d15c
commit 0dbcf08f4c
5 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Users](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [varchar](50) NOT NULL,
[UserName] [varchar](16) NOT NULL,
[Password] [varchar](50) NOT NULL,
[PassSalt] [varchar](50) NOT NULL,
[DisplayName] [nvarchar](50) NOT NULL,

View File

@ -1,6 +1,6 @@
CREATE TABLE Users (
ID INTEGER PRIMARY KEY Auto_increment,
UserName NVARCHAR (50) NOT NULL,
UserName NVARCHAR (16) NOT NULL,
Password VARCHAR (50) NOT NULL,
PassSalt VARCHAR (50) NOT NULL,
DisplayName VARCHAR (50) NOT NULL,

View File

@ -1,6 +1,6 @@
CREATE TABLE Users (
ID SERIAL PRIMARY KEY,
UserName VARCHAR (50) NOT NULL,
UserName VARCHAR (16) NOT NULL,
Password VARCHAR (50) NOT NULL,
PassSalt VARCHAR (50) NOT NULL,
DisplayName VARCHAR (50) NOT NULL,

View File

@ -1,6 +1,6 @@
CREATE TABLE Users (
ID INTEGER PRIMARY KEY,
UserName NVARCHAR (50) NOT NULL COLLATE NOCASE,
UserName NVARCHAR (16) NOT NULL COLLATE NOCASE,
Password VARCHAR (50) NOT NULL,
PassSalt VARCHAR (50) NOT NULL,
DisplayName VARCHAR (50) NOT NULL,

Binary file not shown.