API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20201117095903_UpdatedBedrooms.cs 763B

1234567891011121314151617181920212223242526
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace UnivateProperties_API.Migrations
  3. {
  4. public partial class UpdatedBedrooms : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AlterColumn<string>(
  9. name: "Bedrooms",
  10. table: "Weeks",
  11. nullable: true,
  12. oldClrType: typeof(int));
  13. }
  14. protected override void Down(MigrationBuilder migrationBuilder)
  15. {
  16. migrationBuilder.AlterColumn<int>(
  17. name: "Bedrooms",
  18. table: "Weeks",
  19. nullable: false,
  20. oldClrType: typeof(string),
  21. oldNullable: true);
  22. }
  23. }
  24. }