From c5dbdfc71ac8595b6c21e0020f5d41bdbce38e4e Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 8 Apr 2016 13:02:08 +0300 Subject: 'serverkey' and 'salt' should have empty string as default --- sql/mssql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql') diff --git a/sql/mssql.sql b/sql/mssql.sql index 675542b68..45378d246 100644 --- a/sql/mssql.sql +++ b/sql/mssql.sql @@ -362,8 +362,8 @@ WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW CREATE TABLE [dbo].[users] ( [username] [varchar] (250) NOT NULL, [password] [text] NOT NULL, - [serverkey] [text] NOT NULL, - [salt] [text] NOT NULL, + [serverkey] [text] NOT NULL DEFAULT '', + [salt] [text] NOT NULL DEFAULT '', [iterationcount] [smallint] NOT NULL DEFAULT 0, [created_at] [datetime] NOT NULL DEFAULT GETDATE(), CONSTRAINT [users_PRIMARY] PRIMARY KEY CLUSTERED -- cgit v1.2.3