30 lines
		
	
	
		
			777 B
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			777 B
		
	
	
	
		
			C#
		
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace IRaCIS.Core.Infra.EFCore.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class Publish : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AddColumn<bool>(
 | |
|                 name: "IsPublish",
 | |
|                 table: "SystemDocument",
 | |
|                 type: "bit",
 | |
|                 nullable: false,
 | |
|                 defaultValue: true);
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropColumn(
 | |
|                 name: "IsPublish",
 | |
|                 table: "SystemDocument");
 | |
|         }
 | |
|     }
 | |
| }
 |