mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Renaming and repathing migration classes.
--HG-- branch : dev
This commit is contained in:
parent
cd8660a884
commit
8162e6ee7a
@ -6,8 +6,8 @@ using Orchard.ContentManagement.MetaData.Builders;
|
||||
using Orchard.Core.Contents.Extensions;
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace ArchiveLater.DataMigrations {
|
||||
public class ArchiveLaterDataMigration : DataMigrationImpl {
|
||||
namespace Orchard.ArchiveLater {
|
||||
public class Migrations : DataMigrationImpl {
|
||||
public int Create() {
|
||||
ContentDefinitionManager.AlterPartDefinition(typeof(ArchiveLaterPart).Name, cfg => cfg
|
||||
.WithLocation(new Dictionary<string, ContentLocation> {
|
@ -68,7 +68,7 @@
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DataMigrations\ArchiveLaterDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\ArchiveLaterPartDriver.cs" />
|
||||
<Compile Include="Handlers\ArchiveLaterPartHandler.cs" />
|
||||
<Compile Include="Handlers\UnpublishingTaskHandler.cs" />
|
||||
|
@ -5,8 +5,8 @@ using Orchard.ContentManagement.MetaData;
|
||||
using Orchard.ContentManagement.MetaData.Builders;
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Blogs.DataMigrations {
|
||||
public class BlogsDataMigration : DataMigrationImpl {
|
||||
namespace Orchard.Blogs {
|
||||
public class Migrations : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
//CREATE TABLE Orchard_Blogs_BlogPartArchiveRecord (Id integer, Year INTEGER, Month INTEGER, PostCount INTEGER, Blog_id INTEGER, primary key (Id));
|
@ -70,7 +70,7 @@
|
||||
<Compile Include="ResourceManifest.cs" />
|
||||
<Compile Include="Commands\BlogCommands.cs" />
|
||||
<Compile Include="Controllers\BlogAdminController.cs" />
|
||||
<Compile Include="DataMigrations\BlogsDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\BlogPartDriver.cs" />
|
||||
<Compile Include="Controllers\BlogPostAdminController.cs" />
|
||||
<Compile Include="Controllers\BlogPostController.cs" />
|
||||
|
@ -7,8 +7,8 @@ using Orchard.ContentManagement.MetaData.Builders;
|
||||
using Orchard.Core.Contents.Extensions;
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Comments.DataMigrations {
|
||||
public class CommentsDataMigration : DataMigrationImpl {
|
||||
namespace Orchard.Comments {
|
||||
public class Migrations : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
//CREATE TABLE Orchard_Comments_ClosedCommentsRecord (Id integer, ContentItemId INTEGER, primary key (Id));
|
@ -72,7 +72,7 @@
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="Controllers\CommentController.cs" />
|
||||
<Compile Include="DataMigrations\CommentsDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\CommentPartDriver.cs" />
|
||||
<Compile Include="Drivers\CommentsContainerPartDriver.cs" />
|
||||
<Compile Include="Drivers\CommentSettingsPartDriver.cs" />
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Email.DataMigrations {
|
||||
public class EmailDataMigration : DataMigrationImpl {
|
||||
namespace Orchard.Email {
|
||||
public class Migrations : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
|
@ -65,7 +65,7 @@
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DataMigrations\EmailDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\SmtpSettingsPartDriver.cs" />
|
||||
<Compile Include="Handlers\SmtpSettingsPartHandler.cs" />
|
||||
<Compile Include="Models\SmtpSettingsPart.cs" />
|
||||
|
@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Indexing.DataMigrations {
|
||||
public class IndexingDataMigration : DataMigrationImpl {
|
||||
namespace Orchard.Indexing {
|
||||
public class Migrations : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
SchemaBuilder.CreateTable("IndexingTaskRecord", table => table
|
@ -62,7 +62,7 @@
|
||||
<Compile Include="ResourceManifest.cs" />
|
||||
<Compile Include="Commands\IndexingCommands.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\IndexingDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="DefaultIndexingUpdater.cs" />
|
||||
<Compile Include="Handlers\CreateIndexingTaskHandler.cs" />
|
||||
<Compile Include="Handlers\InfosetFieldIndexingHandler.cs" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Media.DataMigrations {
|
||||
namespace Orchard.Media {
|
||||
public class MediaDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -72,7 +72,7 @@
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="ResourceManifest.cs" />
|
||||
<Compile Include="DataMigrations\MediaDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Helpers\MediaHelpers.cs" />
|
||||
<Compile Include="Models\MediaSettingsPart.cs" />
|
||||
<Compile Include="Handlers\MediaSettingsPartHandler.cs" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Roles.DataMigrations {
|
||||
namespace Orchard.Roles {
|
||||
public class RolesDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -67,7 +67,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\RolesDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\UserRolesPartDriver.cs" />
|
||||
<Compile Include="DefaultRoleUpdater.cs" />
|
||||
<Compile Include="Models\IUserRoles.cs" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Search.DataMigrations {
|
||||
namespace Orchard.Search {
|
||||
public class SearchDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -67,7 +67,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="ResourceManifest.cs" />
|
||||
<Compile Include="Controllers\SearchController.cs" />
|
||||
<Compile Include="DataMigrations\SearchDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Drivers\SearchSettingsPartDriver.cs" />
|
||||
<Compile Include="Filters\SearchFilter.cs" />
|
||||
<Compile Include="Models\SearchSettingsPart.cs" />
|
||||
|
@ -6,7 +6,7 @@ using Orchard.Core.Contents.Extensions;
|
||||
using Orchard.Data.Migration;
|
||||
using Orchard.Tags.Models;
|
||||
|
||||
namespace Orchard.Tags.DataMigrations {
|
||||
namespace Orchard.Tags {
|
||||
public class TagsDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -68,7 +68,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\TagsDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Models\TagsContentItems.cs" />
|
||||
<Compile Include="Services\ITagService.cs" />
|
||||
<Compile Include="ViewModels\EditTagsViewModel.cs" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Themes.DataMigrations {
|
||||
namespace Orchard.Themes {
|
||||
public class ThemesDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -69,7 +69,7 @@
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="ResourceManifest.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\ThemesDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="DesignerNotes\ZoneManagerEvents.cs" />
|
||||
<Compile Include="Handlers\ThemeSiteSettingsPartHandler.cs" />
|
||||
<Compile Include="Models\Theme.cs" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Users.DataMigrations {
|
||||
namespace Orchard.Users {
|
||||
public class UsersDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
@ -70,7 +70,7 @@
|
||||
<Compile Include="Commands\UserCommands.cs" />
|
||||
<Compile Include="Controllers\AccountController.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\UsersDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Events\UserContext.cs" />
|
||||
<Compile Include="Handlers\ModerationMessageAlteration.cs" />
|
||||
<Compile Include="Handlers\RegistrationSettingsPartHandler.cs" />
|
||||
|
@ -8,7 +8,7 @@ using Orchard.Environment.State;
|
||||
using Orchard.Events;
|
||||
using Orchard.Widgets.Models;
|
||||
|
||||
namespace Orchard.Widgets.DataMigrations {
|
||||
namespace Orchard.Widgets {
|
||||
public interface IDefaultLayersInitializer : IEventHandler {
|
||||
void CreateDefaultLayers();
|
||||
}
|
@ -59,7 +59,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="AdminMenu.cs" />
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="DataMigrations\WidgetsDataMigration.cs" />
|
||||
<Compile Include="Migrations.cs" />
|
||||
<Compile Include="Handlers\LayerPartHandler.cs" />
|
||||
<Compile Include="Handlers\WidgetPartHandler.cs" />
|
||||
<Compile Include="Models\LayerPart.cs" />
|
||||
@ -75,9 +75,7 @@
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Views\Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Core\Orchard.Core.csproj">
|
||||
<Project>{9916839C-39FC-4CEB-A5AF-89CA7E87119F}</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user