Contents tagged with migrations

  • Modifying another Orchard module's DB schema with SchemaBuilder

    Tags: development, database, migrations

    The SchemaBuilder, the service you use in migrations to modify the database schema of your module is a convenient tool. However, you can't use it directly to modify the schema of tables defined by other modules (this is commonly the case when wanting to add indices to other modules' tables) because SchemaBuilder automatically appends you module's name to the manipulated table's name... But this is very simple to overcome!

    < More >