mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-18 21:34:56 +00:00
632ac04b56
Add message forwarding and reply lookup, friend removal and blocking endpoints, and database-backed Govor+ privileges with customizable profile tags. Include migrations, integration tests, and updated API and operations documentation.
30 lines
773 B
C#
30 lines
773 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Govor.Domain.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class UserBenefitsRevision : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<long>(
|
|
name: "Revision",
|
|
table: "UserBenefits",
|
|
type: "bigint",
|
|
nullable: false,
|
|
defaultValue: 0L);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Revision",
|
|
table: "UserBenefits");
|
|
}
|
|
}
|
|
}
|