更改Users表结构增加非空约束
This commit is contained in:
parent
f4d5831e35
commit
a2bf36db17
|
@ -19,10 +19,10 @@ SET QUOTED_IDENTIFIER ON
|
||||||
GO
|
GO
|
||||||
CREATE TABLE [dbo].[Users](
|
CREATE TABLE [dbo].[Users](
|
||||||
[ID] [int] IDENTITY(1,1) NOT NULL,
|
[ID] [int] IDENTITY(1,1) NOT NULL,
|
||||||
[UserName] [nvarchar](50) NULL,
|
[UserName] [varchar](50) NOT NULL,
|
||||||
[Password] [nvarchar](50) NULL,
|
[Password] [varchar](50) NOT NULL,
|
||||||
[PassSalt] [nvarchar](50) NULL,
|
[PassSalt] [varchar](50) NOT NULL,
|
||||||
[DisplayName] [nvarchar](50) NULL,
|
[DisplayName] [nvarchar](50) NOT NULL,
|
||||||
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED
|
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED
|
||||||
(
|
(
|
||||||
[ID] ASC
|
[ID] ASC
|
||||||
|
|
Loading…
Reference in New Issue