repo rework
Some checks failed
Build and Push Docker Image / docker (push) Failing after 18s

This commit is contained in:
2026-04-08 12:36:00 +00:00
parent 30a86a5890
commit 2be781c3b1
109 changed files with 78389 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Example.Data.Migrations.Sqlite
{
/// <inheritdoc />
public partial class DateOnlyColumns : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "Published",
table: "Books",
type: "date",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "TEXT");
migrationBuilder.AlterColumn<DateTime>(
name: "Birthdate",
table: "Authors",
type: "date",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "TEXT");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "Published",
table: "Books",
type: "TEXT",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "date");
migrationBuilder.AlterColumn<DateTime>(
name: "Birthdate",
table: "Authors",
type: "TEXT",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "date");
}
}
}