diff options
author | alecpl <alec@alec.pl> | 2008-11-25 10:17:57 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-25 10:17:57 +0000 |
commit | debdda011717e63945a0f6a9db6ab77b30a47079 (patch) | |
tree | 275bbcbd12446a28c387ba9fd68e7daa76c4fd85 /SQL/mssql.initial.sql | |
parent | 938e96a3e594cd96612eba53e6c81fb39b74017e (diff) |
#1485420: remove default (and not null) for users.language column in DDL
Diffstat (limited to 'SQL/mssql.initial.sql')
-rw-r--r-- | SQL/mssql.initial.sql | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql index 98412de2b..1814701a7 100644 --- a/SQL/mssql.initial.sql +++ b/SQL/mssql.initial.sql @@ -69,7 +69,7 @@ CREATE TABLE [dbo].[users] ( [alias] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,
[created] [datetime] NOT NULL ,
[last_login] [datetime] NULL ,
- [language] [varchar] (5) COLLATE Latin1_General_CI_AI NOT NULL ,
+ [language] [varchar] (5) COLLATE Latin1_General_CI_AI NULL ,
[preferences] [text] COLLATE Latin1_General_CI_AI NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
@@ -202,7 +202,6 @@ ALTER TABLE [dbo].[users] ADD CONSTRAINT [DF_users_mail_host] DEFAULT ('') FOR [mail_host],
CONSTRAINT [DF_users_alias] DEFAULT ('') FOR [alias],
CONSTRAINT [DF_users_created] DEFAULT (getdate()) FOR [created],
- CONSTRAINT [DF_users_language] DEFAULT ('en') FOR [language]
GO
CREATE INDEX [IX_users_username] ON [dbo].[users]([username]) ON [PRIMARY]
|