1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- namespace UnivateProperties_API.Migrations
- {
- public partial class nonRegUserSpouse : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<int>(
- name: "HowMarried",
- table: "NonRegIndividuals",
- nullable: false,
- defaultValue: 0);
-
- migrationBuilder.AddColumn<string>(
- name: "SpouseCellnumber",
- table: "NonRegIndividuals",
- nullable: true);
-
- migrationBuilder.AddColumn<string>(
- name: "SpouseEmail",
- table: "NonRegIndividuals",
- nullable: true);
-
- migrationBuilder.AddColumn<string>(
- name: "SpouseName",
- table: "NonRegIndividuals",
- nullable: true);
-
- migrationBuilder.AddColumn<string>(
- name: "SpouseSurname",
- table: "NonRegIndividuals",
- nullable: true);
-
- migrationBuilder.AddColumn<string>(
- name: "SpouseTelephone",
- table: "NonRegIndividuals",
- nullable: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "HowMarried",
- table: "NonRegIndividuals");
-
- migrationBuilder.DropColumn(
- name: "SpouseCellnumber",
- table: "NonRegIndividuals");
-
- migrationBuilder.DropColumn(
- name: "SpouseEmail",
- table: "NonRegIndividuals");
-
- migrationBuilder.DropColumn(
- name: "SpouseName",
- table: "NonRegIndividuals");
-
- migrationBuilder.DropColumn(
- name: "SpouseSurname",
- table: "NonRegIndividuals");
-
- migrationBuilder.DropColumn(
- name: "SpouseTelephone",
- table: "NonRegIndividuals");
- }
- }
- }
|