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