c# - How to remove a constraint on table using entity framework db migrations -


i'm trying alter type of table column int long.

altercolumn("dbo.files", "size", c => c.long(nullable: false)); 

it's throwing error on migration:

the object 'df__files__size__1fcdbceb' dependent on column 'size'. alter table alter column size failed because 1 or more objects access column. 

how remove constraint in entity framework... migration, put in?


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -