mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Table name should not include the prefix: Orchard_Blogs_BlogArchiveRecord during Data Migration scaffolding
--HG-- branch : dev
This commit is contained in:
@@ -5,7 +5,7 @@ namespace $$FeatureName$$.DataMigrations {
|
||||
public class $$ClassName$$DataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
$$Commands$$
|
||||
$$Commands$$
|
||||
|
||||
return 0100;
|
||||
}
|
||||
|
@@ -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>() ) {
|
||||
|
Reference in New Issue
Block a user