The failure leaves your migrate_version at 9, as migration 10 fails. To undo the partially completed migration, run:
RENAME TABLE endpoint_v2 TO endpoint;
The failure leaves your migrate_version at 9, as migration 10 fails. To undo the partially completed migration, run:
RENAME TABLE endpoint_v2 TO endpoint;