/db/migrate/20170707184244_remove_wrong_versions_from_schema_versions.rb

https://gitlab.com/visay/gitlab-ce · Ruby · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · ae97796271958c88d2449b3b7e936336 MD5 · raw file

  1. class RemoveWrongVersionsFromSchemaVersions < ActiveRecord::Migration
  2. DOWNTIME = false
  3. def up
  4. execute("DELETE FROM schema_migrations WHERE version IN ('20170723183807', '20170724184243')")
  5. end
  6. def down
  7. end
  8. end