lib/migration_helper.rb
# Fixes issues where migrations were named incorrectly due to issues with the
#   naming of 20150823120001_namespace_ems_openstack_availability_zones_null.rb
Fixes issues where migrations were named incorrectly due to issues with the
naming of 20150823120001_namespace_ems_openstack_availability_zones_null.rb
Fixes issues where migrations were named incorrectly due to issues with the naming of 20150823120001_namespace_ems_openstack_availability_zones_null . rb
def previously_migrated_as?(bad_date)
    connection.exec_delete(
      "DELETE FROM schema_migrations WHERE version = #{connection.quote(bad_date)}"
    ) > 0
  end
def previously_migrated_as? ( bad_date ) connection . exec_delete ( "DELETE FROM schema_migrations WHERE version = #{connection.quote(bad_date)}" ) > 0 end
Fixes issues where migrations were named incorrectly due to issues with the
naming of 20150823120001_namespace_ems_openstack_availability_zones_null.rb
Fixes issues where migrations were named incorrectly due to issues with the naming of 20150823120001_namespace_ems_openstack_availability_zones_null . rb
bad_date
<not_specific>