I'm using a Model First approach. When specifying a boolean column in my model and setting a default value (true and false are the only ones permitted), I get an error when generating the database. The SQL generated looks like this :
Code: Select all
CREATE TABLE [dbo].[TableName] (
[Id] INT NOT NULL IDENTITY,
[BooleanColumn] BIT NOT NULL DEFAULT false
)
Is this a known issue? Is there a workaround?