MinIO Service

This commit is contained in:
Suphonchai Phoonsawat 2023-03-25 20:03:27 +07:00
parent e33c19ae8a
commit bdd327cce2
43 changed files with 2092 additions and 1447 deletions

View file

@ -0,0 +1,41 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Recruit.Service.Migrations
{
/// <inheritdoc />
public partial class ChangeDocumentTableDef : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<Guid>(
name: "ObjectRefId",
table: "Documents",
type: "char(36)",
nullable: false,
collation: "ascii_general_ci",
oldClrType: typeof(string),
oldType: "varchar(64)",
oldMaxLength: 64)
.OldAnnotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "ObjectRefId",
table: "Documents",
type: "varchar(64)",
maxLength: 64,
nullable: false,
oldClrType: typeof(Guid),
oldType: "char(36)")
.Annotation("MySql:CharSet", "utf8mb4")
.OldAnnotation("Relational:Collation", "ascii_general_ci");
}
}
}