Add unique index for apps.client_id, fixes #2022
Based on the convo in #2022 (closed) it seems adding a unique constraint on an existing table may not be wise, so instead I edited an old migration so it will only affect new installations going forward. Added a new migration.
Edited by Alex Gleason