修改数据库数据脚本,修复Description不可为空是默认Admin无法插入问题
This commit is contained in:
parent
1163523c4c
commit
7f6f9ab863
|
@ -3,7 +3,7 @@ GO
|
|||
|
||||
DELETE From Users where ID = 1
|
||||
SET IDENTITY_INSERT [dbo].[Users] ON
|
||||
insert into Users (ID, UserName, Password, PassSalt, DisplayName, RegisterTime, ApprovedTime) values (1, 'Admin', 'Es7WVgNsJuELwWK8daCqufUBknCsSC0IYDphQZAiGOo=', 'W5vpBEOYRGHkQXatN0t+ECM/U8cHDuEgrq56+zZBk4J481xH', 'Administrator', GetDate(), GetDate())
|
||||
insert into Users (ID, UserName, Password, PassSalt, DisplayName, RegisterTime, ApprovedTime, [Description]) values (1, 'Admin', 'Es7WVgNsJuELwWK8daCqufUBknCsSC0IYDphQZAiGOo=', 'W5vpBEOYRGHkQXatN0t+ECM/U8cHDuEgrq56+zZBk4J481xH', 'Administrator', GetDate(), GetDate(), N'系统默认创建')
|
||||
SET IDENTITY_INSERT [dbo].[Users] OFF
|
||||
|
||||
DELETE From Dicts where ID < 10
|
||||
|
|
Loading…
Reference in New Issue