using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Api.Migrations
{
///
public partial class AddedSaltUserNameDevice : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Salt",
table: "Users",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "Name",
table: "Devices",
type: "TEXT",
nullable: false,
defaultValue: "");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Salt",
table: "Users");
migrationBuilder.DropColumn(
name: "Name",
table: "Devices");
}
}
}