mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Changed default data migration version number to 1
--HG-- branch : dev
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Orchard.Core.Common.DataMigrations {
|
||||
.Column<DateTime>("ModifiedUtc")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -11,7 +11,7 @@ namespace Orchard.Core.Localization.DataMigrations {
|
||||
.Column<int>("MasterContentItemId")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -18,7 +18,7 @@ namespace Orchard.Core.Navigation.DataMigrations {
|
||||
.Column<bool>("OnMainMenu")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -12,7 +12,7 @@ namespace Orchard.Core.Routable.DataMigrations {
|
||||
.Column<string>("Path", column => column.WithLength(2048))
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -13,7 +13,7 @@ namespace Orchard.Core.Scheduling.DataMigrations {
|
||||
.Column<int>("ContentItemVersionRecord_id")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -91,7 +91,7 @@ namespace Orchard.Core.Settings.DataMigrations {
|
||||
.Column<string>("SiteCulture")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -17,7 +17,7 @@ namespace Futures.Widgets.DataMigrations {
|
||||
.Column<int>("Scope_id")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -20,7 +20,7 @@ namespace Orchard.Blogs.DataMigrations {
|
||||
.Column<int>("PostCount")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -41,7 +41,7 @@ namespace Orchard.Comments.DataMigrations {
|
||||
.Column<bool>("CommentsActive")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -7,7 +7,7 @@ namespace $$FeatureName$$.DataMigrations {
|
||||
public int Create() {
|
||||
$$Commands$$
|
||||
|
||||
return 0100;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -12,7 +12,7 @@ namespace Orchard.Indexing.DataMigrations {
|
||||
.Column<int>("ContentItemRecord_id")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -10,7 +10,7 @@ namespace Orchard.Media.DataMigrations {
|
||||
.Column<string>("RootMediaFolder")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -33,7 +33,7 @@ namespace Orchard.Roles.DataMigrations {
|
||||
.Column<int>("Role_id")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -14,7 +14,7 @@ namespace Orchard.Sandbox.DataMigrations {
|
||||
.Column<bool>("AllowAnonymousEdits")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -11,7 +11,7 @@ namespace Orchard.Search.DataMigrations {
|
||||
.Column<string>("SearchedFields")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -17,7 +17,7 @@ namespace Orchard.Tags.DataMigrations {
|
||||
.Column<int>("ContentItemId")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -22,7 +22,7 @@ namespace Orchard.Themes.DataMigrations {
|
||||
.Column<string>("CurrentThemeName")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -16,7 +16,7 @@ namespace Orchard.Users.DataMigrations {
|
||||
.Column<string>("PasswordSalt")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
@@ -33,7 +33,7 @@ namespace Orchard.ContentManagement.DataMigrations {
|
||||
.Column<string>("Culture")
|
||||
);
|
||||
|
||||
return 0010;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user