mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Renaming and repathing migration classes.
--HG-- branch : dev
This commit is contained in:
17
src/Orchard.Web/Modules/Orchard.Search/Migrations.cs
Normal file
17
src/Orchard.Web/Modules/Orchard.Search/Migrations.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Orchard.Data.Migration;
|
||||
|
||||
namespace Orchard.Search {
|
||||
public class SearchDataMigration : DataMigrationImpl {
|
||||
|
||||
public int Create() {
|
||||
|
||||
SchemaBuilder.CreateTable("SearchSettingsPartRecord", table => table
|
||||
.ContentPartRecord()
|
||||
.Column<bool>("FilterCulture")
|
||||
.Column<string>("SearchedFields")
|
||||
);
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user