Unique apps.client_id for new installations, fixes #2022

This commit is contained in:
Alex Gleason 2020-08-03 22:32:51 -05:00
commit 184742af5e
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAppClientId do
use Ecto.Migration
def change do
create(unique_index(:apps, [:client_id]))
end
end