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.

20200918092143_Added Cutoff show date.cs 742B

123456789101112131415161718192021222324
  1. using System;
  2. using Microsoft.EntityFrameworkCore.Migrations;
  3. namespace UnivateProperties_API.Migrations
  4. {
  5. public partial class AddedCutoffshowdate : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<DateTime>(
  10. name: "CutOffDisplayDate",
  11. table: "Properties",
  12. nullable: false,
  13. defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
  14. }
  15. protected override void Down(MigrationBuilder migrationBuilder)
  16. {
  17. migrationBuilder.DropColumn(
  18. name: "CutOffDisplayDate",
  19. table: "Properties");
  20. }
  21. }
  22. }