WPF hinzugefügt

This commit is contained in:
Husky
2021-02-26 18:31:57 +01:00
parent 6761b17f4d
commit 746353e54e
34 changed files with 1261 additions and 37 deletions

View File

@@ -0,0 +1,33 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace DataStoring.EfCore.Migrations
{
public partial class Initialcommit : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AuftraggeberSet",
columns: table => new
{
Id = table.Column<int>(type: "integer", nullable: false)
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
Name = table.Column<string>(type: "text", nullable: true),
Ort = table.Column<string>(type: "text", nullable: true),
Strasse = table.Column<string>(type: "text", nullable: true),
Tel = table.Column<string>(type: "text", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_AuftraggeberSet", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "AuftraggeberSet");
}
}
}