mirror of https://github.com/abpframework/abp.git
3 changed files with 1997 additions and 1 deletions
File diff suppressed because it is too large
@ -0,0 +1,33 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Volo.CmsKit.Migrations |
|||
{ |
|||
public partial class Page_StyleScript : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Script", |
|||
table: "CmsPages", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Style", |
|||
table: "CmsPages", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "Script", |
|||
table: "CmsPages"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Style", |
|||
table: "CmsPages"); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue