All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
30 lines
779 B
C#
30 lines
779 B
C#
using System.Collections.Generic;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace agologum_api.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class Addpermissions : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<List<string>>(
|
|
name: "Permissions",
|
|
table: "AspNetUsers",
|
|
type: "text[]",
|
|
nullable: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Permissions",
|
|
table: "AspNetUsers");
|
|
}
|
|
}
|
|
}
|