Fixed UniqueConstraint error resulting from double schema_migrations insertion on schema load