12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- namespace UnivateProperties_API.Migrations
- {
- public partial class SearchLogStuff : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "UserID",
- table: "SearchLogs");
-
- migrationBuilder.DropColumn(
- name: "GCRecord",
- table: "Properties");
-
- migrationBuilder.AddColumn<string>(
- name: "Type",
- table: "SearchLogs",
- nullable: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Type",
- table: "SearchLogs");
-
- migrationBuilder.AddColumn<int>(
- name: "UserID",
- table: "SearchLogs",
- nullable: true);
-
- migrationBuilder.AddColumn<int>(
- name: "GCRecord",
- table: "Properties",
- nullable: true);
- }
- }
- }
|