using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace agologum_api.Migrations { /// public partial class CreateExtraUserInfo : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "CreatedAt", table: "Users", type: "timestamp with time zone", nullable: false, defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)); migrationBuilder.AddColumn( name: "Role", table: "Users", type: "text", nullable: false, defaultValue: ""); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CreatedAt", table: "Users"); migrationBuilder.DropColumn( name: "Role", table: "Users"); } } }