Updating expressions to output sql for use with the fluent migrations, so it can be used for db upgrades.

This commit is contained in:
Morten Christensen
2012-12-20 11:36:20 -01:00
parent 9d55fed6e7
commit c1695c2f7f
24 changed files with 287 additions and 90 deletions

View File

@@ -129,5 +129,7 @@ namespace Umbraco.Core.Persistence.SqlSyntax
}
public override string AddColumn { get { return "ALTER TABLE {0} ADD {1}"; } }
public override string DropIndex { get { return "DROP INDEX {1}.{0}"; } }
}
}