12345678910111213141516171819202122232425262728293031323334353637 |
- using Microsoft.EntityFrameworkCore.Metadata;
- using Microsoft.EntityFrameworkCore.Migrations;
-
- namespace UnivateProperties_API.Migrations
- {
- public partial class nonRegIndiv : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "NonRegIndividuals",
- columns: table => new
- {
- Id = table.Column<int>(nullable: false)
- .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
- Name = table.Column<string>(nullable: true),
- Surname = table.Column<string>(nullable: true),
- IDNumber = table.Column<string>(nullable: true),
- CompanyRegNumber = table.Column<string>(nullable: true),
- EmailAddress = table.Column<string>(nullable: true),
- CellNumber = table.Column<string>(nullable: true),
- TelephoneNumber = table.Column<string>(nullable: true),
- WeekId = table.Column<int>(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_NonRegIndividuals", x => x.Id);
- });
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "NonRegIndividuals");
- }
- }
- }
|