Set guest_invitations.invitation_id not null (#4812)

Once https://github.com/plausible/analytics/pull/4811/files
is migrated.
This commit is contained in:
hq1 2024-11-13 13:48:55 +01:00 committed by GitHub
parent 74dcd3d29b
commit 86b3bf4f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,9 @@
defmodule Plausible.Repo.Migrations.InvitationIdNotNullAtGuestInvitations do
use Ecto.Migration
def change do
alter table(:guest_invitations) do
modify :invitation_id, :string, null: false
end
end
end