API
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

20201110092829_URL added to location.cs 609B

12345678910111213141516171819202122
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace UnivateProperties_API.Migrations
  3. {
  4. public partial class URLaddedtolocation : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AddColumn<string>(
  9. name: "SiteURL",
  10. table: "Location",
  11. nullable: true);
  12. }
  13. protected override void Down(MigrationBuilder migrationBuilder)
  14. {
  15. migrationBuilder.DropColumn(
  16. name: "SiteURL",
  17. table: "Location");
  18. }
  19. }
  20. }