@@ -0,0 +1,1788 @@
+%22%22%22add some basic indexes%0A%0ARevision ID: 25529bc17860%0ARevises: c2a0f6d88a4%0ACreate Date: 2015-04-17 08:54:33.122239%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0Arevision = '25529bc17860'%0Adown_revision = 'c2a0f6d88a4'%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0A%0A%0Adef upgrade():%0A    op.create_index('requests_request_date_idx', 'requests', %5B'request_date'%5D, schema='stat')%0A    op.create_index('requests_user_id_idx', 'requests', %5B'user_id'%5D, schema='stat')%0A    op.create_index('requests_user_name_idx', 'requests', %5B'user_name'%5D, schema='stat')%0A%0A    op.create_index('journeys_request_id_idx', 'journeys', %5B'request_id'%5D, schema='stat')%0A%0A    op.create_index('journey_request_request_id_idx', 'journey_request', %5B'request_id'%5D, schema='stat')%0A%0A    op.create_index('journey_sections_journey_id_idx', 'journey_sections', %5B'journey_id'%5D, schema='stat')%0A%0A    op.create_index('filter_interpreted_parameters_id_idx', 'filter', %5B'interpreted_parameter_id'%5D, schema='stat')%0A%0A    op.create_index('interpreted_parameters_request_id_idx', 'interpreted_parameters', %5B'request_id'%5D, schema='stat')%0A%0A    op.create_index('parameters_request_id_idx', 'parameters', %5B'request_id'%5D, schema='stat')%0A%0A%0Adef downgrade():%0A    op.drop_index('requests_request_date_idx', schema='stat')%0A    op.drop_index('requests_user_id_idx', schema='stat')%0A    op.drop_index('requests_user_name_idx', schema='stat')%0A%0A    op.drop_index('journeys_request_id_idx', schema='stat')%0A%0A    op.drop_index('journey_request_request_id_idx', schema='stat')%0A%0A    op.drop_index('journey_sections_journey_id_idx', schema='stat')%0A%0A    op.drop_index('filter_interpreted_parameters_id_idx', schema='stat')%0A%0A    op.drop_index('interpreted_parameters_request_id_idx', schema='stat')%0A%0A    op.drop_index('parameters_request_id_idx', schema='stat')%0A

add some basic indexes on stats