mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 18:13:08 +08:00
20 lines
628 B
C#
20 lines
628 B
C#
using Orchard.Data.Migration;
|
|
|
|
namespace Orchard.SecureSocketsLayer {
|
|
public class Migrations : DataMigrationImpl {
|
|
public int Create() {
|
|
|
|
SchemaBuilder.CreateTable("SslSettingsPartRecord",
|
|
table => table
|
|
.ContentPartRecord()
|
|
.Column<bool>("CustomEnabled")
|
|
.Column<bool>("SecureEverything")
|
|
.Column<string>("Urls", c => c.Unlimited())
|
|
.Column<string>("SecureHostName")
|
|
.Column<string>("InsecureHostName")
|
|
);
|
|
|
|
return 1;
|
|
}
|
|
}
|
|
} |