1234567891011121314151617181920212223242526 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- namespace UnivateProperties_API.Migrations
- {
- public partial class UpdatedBedrooms : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Bedrooms",
- table: "Weeks",
- nullable: true,
- oldClrType: typeof(int));
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<int>(
- name: "Bedrooms",
- table: "Weeks",
- nullable: false,
- oldClrType: typeof(string),
- oldNullable: true);
- }
- }
- }
|