Ajout des syncshell perma & temporaire

This commit is contained in:
2025-09-20 09:02:53 +02:00
parent 74dac9f506
commit f9df60dc88
6 changed files with 166 additions and 12 deletions

View File

@@ -0,0 +1,40 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MareSynchronosServer.Migrations
{
/// <inheritdoc />
public partial class GroupTemporary : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "expires_at",
table: "groups",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.AddColumn<bool>(
name: "is_temporary",
table: "groups",
type: "boolean",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "expires_at",
table: "groups");
migrationBuilder.DropColumn(
name: "is_temporary",
table: "groups");
}
}
}