using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace WorkTime.Database.Migrations
{
///
public partial class Initial : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Entries",
columns: table => new
{
Id = table.Column(type: "TEXT", nullable: false),
Type = table.Column(type: "INTEGER", nullable: false),
Timestamp = table.Column(type: "TEXT", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Entries", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Entries");
}
}
}