fix permission table
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 4s
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 4s
This commit is contained in:
37
api/Migrations/20260423010900_ugh.cs
Normal file
37
api/Migrations/20260423010900_ugh.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace agologum_api.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ugh : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Permissions",
|
||||
table: "AspNetUsers",
|
||||
type: "jsonb",
|
||||
nullable: true,
|
||||
oldClrType: typeof(List<string>),
|
||||
oldType: "text[]",
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<List<string>>(
|
||||
name: "Permissions",
|
||||
table: "AspNetUsers",
|
||||
type: "text[]",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "jsonb",
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user