Fix DDL update from 0.7 for MS SQL Server

pull/13/head
Aleksander Machniak 13 years ago
parent 6e1864cb17
commit 7ac99af37b

@ -246,8 +246,12 @@ GO
-- Updates from version 0.7
ALTER TABLE [dbo].[contacts] DROP CONSTRAINT [DF_contacts_email]
GO
ALTER TABLE [dbo].[contacts] ALTER COLUMN [email] [text] COLLATE Latin1_General_CI_AI NOT NULL
GO
ALTER TABLE [dbo].[contacts] ADD CONSTRAINT [DF_contacts_email] DEFAULT ('') FOR [email]
GO
-- Updates from version 0.8-rc

Loading…
Cancel
Save