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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -