Closed fmazan closed 1 year ago
2023-08-04 11:53:51,517 20748 9968 N/A INFO peewee_migrate Migrate "123_add_uuid" 2023-08-04 11:53:51,517 20748 9968 N/A INFO peewee_migrate add_column ('some_table', 'uuid', <SomeField: SomeModel.uuid>) 2023-08-04 11:53:51,517 20748 9968 N/A DEBUG peewee ('ALTER TABLE `some_table` ADD COLUMN `uuid` BINARY(16)', []) 2023-08-04 11:53:51,521 20748 9968 N/A DEBUG peewee ('CREATE UNIQUE INDEX `some_table_uuid` ON `some_table` (`uuid`)', []) 2023-08-04 11:53:51,528 20748 9968 N/A INFO peewee_migrate add_index ('some_table', ('uuid',)) 2023-08-04 11:53:51,528 20748 9968 N/A DEBUG peewee ('CREATE UNIQUE INDEX `some_table_uuid` ON `some_table` (`uuid`)', []) ... pymysql.err.OperationalError: (1061, "Duplicate key name 'some_table_uuid'")
cc/ @klen
@fmazan Thank you!
Changes in this PR
cc/ @klen