mirror of
https://github.com/bitwarden/server.git
synced 2024-11-30 13:33:24 +01:00
22 lines
724 B
C#
22 lines
724 B
C#
|
using Bit.Core.Utilities;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.PostgresMigrations.Migrations;
|
|||
|
|
|||
|
public partial class FinalFlexibleCollectionsDataMigrations : Migration
|
|||
|
{
|
|||
|
private const string _finalFlexibleCollectionsDataMigrationsScript = "PostgresMigrations.HelperScripts.2024-08-26_00_FinalFlexibleCollectionsDataMigrations.psql";
|
|||
|
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_finalFlexibleCollectionsDataMigrationsScript));
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
throw new Exception("Irreversible migration");
|
|||
|
}
|
|||
|
}
|