mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
17 lines
606 B
C#
17 lines
606 B
C#
using Orchard.Data.Migration;
|
|
|
|
namespace Orchard.Core.Localization.DataMigrations {
|
|
public class LocalizationDataMigration : DataMigrationImpl {
|
|
|
|
public int Create() {
|
|
//CREATE TABLE Localization_LocalizedRecord (Id INTEGER not null, CultureId INTEGER, MasterContentItemId INTEGER, primary key (Id));
|
|
SchemaBuilder.CreateTable("LocalizedRecord", table => table
|
|
.ContentPartRecord()
|
|
.Column<int>("CultureId")
|
|
.Column<int>("MasterContentItemId")
|
|
);
|
|
|
|
return 1;
|
|
}
|
|
}
|
|
} |