Add schema migration for unique constraint