mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
28 lines
690 B
C#
28 lines
690 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.PostgresMigrations.Migrations;
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class AddClientIdToProviderInvoiceItem : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<Guid>(
|
|||
|
name: "ClientId",
|
|||
|
table: "ProviderInvoiceItem",
|
|||
|
type: "uuid",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "ClientId",
|
|||
|
table: "ProviderInvoiceItem");
|
|||
|
}
|
|||
|
}
|