@@ -0,0 +1,712 @@
+%22%22%22Add indexes on driver for licence and departement%0A%0ARevision ID: 86b41c3dbd00%0ARevises: ccd5b0142a76%0ACreate Date: 2019-10-21 15:55:35.965422%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0Arevision = '86b41c3dbd00'%0Adown_revision = 'ccd5b0142a76'%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0Afrom sqlalchemy.dialects import postgresql%0A%0Adef upgrade():%0A    op.create_index('driver_departement_id_idx', 'driver', %5B'departement_id'%5D, unique=False)%0A    op.create_index('driver_professional_licence_idx', 'driver', %5B'professional_licence'%5D, unique=False)%0A%0A%0Adef downgrade():%0A    op.drop_index('driver_professional_licence_idx', table_name='driver')%0A    op.drop_index('driver_departement_id_idx', table_name='driver')%0A

Add migration to create index on driver for departement and licence