Open
Description
Recreating the unique_index should happen after the rename action or do both index actions after the rename
def down do
drop_if_exists unique_index(:access__teams, [:license_key_id],
name: "access__teams_license_key_id_index"
)
create unique_index(:access__teams, [:idp_entity_id],
name: "access__teams_idp_entity_id_index"
)
rename table(:access__teams), :license_key_id, to: :idp_entity_id
end