30 lines
		
	
	
		
			797 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			797 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
 | 
						|
#nullable disable
 | 
						|
 | 
						|
namespace Marco.Pms.DataAccess.Migrations
 | 
						|
{
 | 
						|
    /// <inheritdoc />
 | 
						|
    public partial class Added_IsUsed_FLag_In_OTPDetails_Table : Migration
 | 
						|
    {
 | 
						|
        /// <inheritdoc />
 | 
						|
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.AddColumn<bool>(
 | 
						|
                name: "IsUsed",
 | 
						|
                table: "OTPDetails",
 | 
						|
                type: "tinyint(1)",
 | 
						|
                nullable: false,
 | 
						|
                defaultValue: false);
 | 
						|
        }
 | 
						|
 | 
						|
        /// <inheritdoc />
 | 
						|
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "IsUsed",
 | 
						|
                table: "OTPDetails");
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |