Commit da8ff827 authored by Peter van der meulen's avatar Peter van der meulen

Uique constraints on corporations

parent 5f10e719
defmodule SnugglesApp.Repo.Migrations.AddIndexToCorporation do
use Ecto.Migration
def change do
create index("corporations", [:eve_corp_id], unique: true)
create index("corporations", [:discord_guild_id], unique: true)
create index("corporations", [:discord_member_role_id], unique: true)
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment