mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
17 lines
485 B
C#
17 lines
485 B
C#
![]() |
using Orchard.Data.Migration;
|
|||
|
|
|||
|
namespace Orchard.Search.DataMigrations {
|
|||
|
public class SearchDataMigration : DataMigrationImpl {
|
|||
|
|
|||
|
public int Create() {
|
|||
|
|
|||
|
SchemaBuilder.CreateTable("SearchSettingsRecord", table => table
|
|||
|
.Column<int>("Id", column => column.PrimaryKey())
|
|||
|
.Column<bool>("FilterCulture")
|
|||
|
.Column<string>("SearchedFields")
|
|||
|
);
|
|||
|
|
|||
|
return 0010;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|