mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 02:27:57 +03:00
Set guest_invitations.invitation_id
not null (#4812)
Once https://github.com/plausible/analytics/pull/4811/files is migrated.
This commit is contained in:
parent
74dcd3d29b
commit
86b3bf4f24
@ -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
|
Loading…
Reference in New Issue
Block a user