| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace Warhammer.Migrations
- {
- public partial class DeathwatchDbFirstMigration : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "Players",
- columns: table => new
- {
- Name = table.Column<string>(nullable: false),
- Id = table.Column<Guid>(nullable: false),
- CreatedDate = table.Column<DateTime>(nullable: false),
- ModifiedDate = table.Column<DateTime>(nullable: false),
- CharacterName = table.Column<string>(nullable: true),
- Background = table.Column<string>(nullable: true),
- Experience = table.Column<int>(nullable: false),
- CC = table.Column<int>(nullable: false),
- CT = table.Column<int>(nullable: false),
- F = table.Column<int>(nullable: false),
- E = table.Column<int>(nullable: false),
- AG = table.Column<int>(nullable: false),
- INT = table.Column<int>(nullable: false),
- PER = table.Column<int>(nullable: false),
- FM = table.Column<int>(nullable: false),
- SOC = table.Column<int>(nullable: false),
- MF = table.Column<int>(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_Players", x => x.Name);
- });
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "Players");
- }
- }
- }
|