123456789101112131415161718192021222324 |
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace VCommon.VEntityFrameworkCore.Tests.Migrations
- {
- public partial class AddFilterField : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<bool>(
- name: "IsEnable",
- table: "TestEntities",
- type: "tinyint(1)",
- nullable: false,
- defaultValue: false);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "IsEnable",
- table: "TestEntities");
- }
- }
- }
|