c# - How do I change schema in fluent migrator? -


i trying add column 1 of our existing tables not on dba schema.

i tried following,

alter.table("breakdown").addcolumn("quoteref").asstring(30).nullable().toschema("res"); 

but blows error message

enter image description here

how change schema in fluent migrator?

ok figured out myself: it's not .toschema("res") .inschema("res")

full code following:

alter.table("breakdown").inschema("res").addcolumn("quoteref").asstring(30).nullable(); 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -