entity framework - EF DbMigration Sql update not running from embedded resource -


using entity framework 6 automated migrations, i'm trying execute sql embedded resource file using sqlresource. following script doesn't work correctly - seems update column empty string. work correctly if run script directly in ssms.

update [emailtemplates] set html = 'xyz' [type] = 'confirmemail' 

if simple works:

alter table emailtemplates add somecolumn nvarchar null 

the "html" column of type nvarchar(max) null. ideas?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -