Skip to content

Commit

Permalink
Add invitation_id column to guest_invitations schema (#4811)
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Gruntkowski <[email protected]>
  • Loading branch information
aerosol and zoldar authored Nov 12, 2024
1 parent 3809ebf commit 7cf61c9
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
defmodule Plausible.Repo.Migrations.AddInvitationIdToGuestInvitations do
use Ecto.Migration

@disable_ddl_transaction true
@disable_migration_lock true

def change do
alter table(:guest_invitations) do
add :invitation_id, :string
end

create unique_index(:guest_invitations, [:invitation_id])
end
end

0 comments on commit 7cf61c9

Please sign in to comment.