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
Post a Comment