mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 02:27:57 +03:00
Add invitation_id
column to guest_invitations
schema (#4811)
Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
This commit is contained in:
parent
3809ebf4ba
commit
7cf61c9590
@ -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
|
Loading…
Reference in New Issue
Block a user