using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace IOL.GreatOffice.Api.Migrations { public partial class ModifiedAt : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "modified_at", table: "users", type: "timestamp with time zone", nullable: true); migrationBuilder.AddColumn( name: "modified_at", table: "time_labels", type: "timestamp with time zone", nullable: true); migrationBuilder.AddColumn( name: "modified_at", table: "time_entries", type: "timestamp with time zone", nullable: true); migrationBuilder.AddColumn( name: "modified_at", table: "time_categories", type: "timestamp with time zone", nullable: true); migrationBuilder.AddColumn( name: "modified_at", table: "forgot_password_requests", type: "timestamp with time zone", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "modified_at", table: "users"); migrationBuilder.DropColumn( name: "modified_at", table: "time_labels"); migrationBuilder.DropColumn( name: "modified_at", table: "time_entries"); migrationBuilder.DropColumn( name: "modified_at", table: "time_categories"); migrationBuilder.DropColumn( name: "modified_at", table: "forgot_password_requests"); } } }