Table name should not include the prefix: Orchard_Blogs_BlogArchiveRecord during Data Migration scaffolding

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-07-07 17:29:06 -07:00
parent 0cf950bc83
commit db85727d0a
3 changed files with 12 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ namespace $$FeatureName$$.DataMigrations {
public class $$ClassName$$DataMigration : DataMigrationImpl {
public int Create() {
$$Commands$$
$$Commands$$
return 0100;
}

View File

@@ -13,7 +13,7 @@ namespace Orchard.DevTools.Services {
}
public override void Visit(CreateTableCommand command) {
_output.WriteLine("// Creating table {0}", command.Name);
_output.WriteLine("\t\t\t// Creating table {0}", command.Name);
_output.WriteLine("\t\t\tSchemaBuilder.CreateTable(\"{0}\", table => table", command.Name);
foreach ( var createColumn in command.TableCommands.OfType<CreateColumnCommand>() ) {