Merge branch 'unique-app-id' into 'develop'
Add unique index for apps.client_id, fixes #2022 Closes #2022 See merge request pleroma/pleroma!2844
This commit is contained in:
commit
474aba984f
2 changed files with 18 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAppClientId do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create(unique_index(:apps, [:client_id]))
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue