mirror of
https://github.com/bitwarden/server.git
synced 2024-11-30 13:33:24 +01:00
e8c5d73062
* Sync EF migrations for .NET 8 * Format * Redo migrations with billing fix * Forgot to format again
28 lines
735 B
C#
28 lines
735 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Bit.SqliteMigrations.Migrations;
|
|
|
|
/// <inheritdoc />
|
|
public partial class Net8Sync : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_ProviderInvoiceItem_Id_InvoiceId",
|
|
table: "ProviderInvoiceItem");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_ProviderInvoiceItem_Id_InvoiceId",
|
|
table: "ProviderInvoiceItem",
|
|
columns: new[] { "Id", "InvoiceId" },
|
|
unique: true);
|
|
}
|
|
}
|