41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
 | 
						|
#nullable disable
 | 
						|
 | 
						|
namespace DysonNetwork.Pass.Migrations
 | 
						|
{
 | 
						|
    /// <inheritdoc />
 | 
						|
    public partial class AddAutomatedStatus : Migration
 | 
						|
    {
 | 
						|
        /// <inheritdoc />
 | 
						|
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.AddColumn<string>(
 | 
						|
                name: "app_identifier",
 | 
						|
                table: "account_statuses",
 | 
						|
                type: "character varying(4096)",
 | 
						|
                maxLength: 4096,
 | 
						|
                nullable: true);
 | 
						|
 | 
						|
            migrationBuilder.AddColumn<bool>(
 | 
						|
                name: "is_automated",
 | 
						|
                table: "account_statuses",
 | 
						|
                type: "boolean",
 | 
						|
                nullable: false,
 | 
						|
                defaultValue: false);
 | 
						|
        }
 | 
						|
 | 
						|
        /// <inheritdoc />
 | 
						|
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "app_identifier",
 | 
						|
                table: "account_statuses");
 | 
						|
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "is_automated",
 | 
						|
                table: "account_statuses");
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |