Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

20211122112034_AddedUsers.cs 968B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using Microsoft.EntityFrameworkCore.Migrations;
  3. #nullable disable
  4. namespace BlackRock.Reporting.API.Migrations
  5. {
  6. public partial class AddedUsers : Migration
  7. {
  8. protected override void Up(MigrationBuilder migrationBuilder)
  9. {
  10. migrationBuilder.CreateTable(
  11. name: "Users",
  12. columns: table => new
  13. {
  14. Id = table.Column<Guid>(type: "TEXT", nullable: false),
  15. Name = table.Column<string>(type: "TEXT", nullable: true),
  16. Email = table.Column<string>(type: "TEXT", nullable: true)
  17. },
  18. constraints: table =>
  19. {
  20. table.PrimaryKey("PK_Users", x => x.Id);
  21. });
  22. }
  23. protected override void Down(MigrationBuilder migrationBuilder)
  24. {
  25. migrationBuilder.DropTable(
  26. name: "Users");
  27. }
  28. }
  29. }