Sha256: 7bba543f9afb90a4b16589dcb272e8642e349714796cc3dc1b5d5fe2c8731ba9

Contents?: true

Size: 554 Bytes

Versions: 8

Compression:

Stored size: 554 Bytes

Contents

# -*- encoding : utf-8 -*-

require "card/version"

class RequireEarlierMigrations < ActiveRecord::Migration[4.2]
  def self.up
    raise %(
Your database is not ready to be migrated to #{Card::Version.release}.
You will need to do incremental upgrades.
Please first install version 1.6.1 and run `rake db:migrate`.
Then install version 1.8.0 and run `rake db:migrate`.

Sorry about this! We're working to minimize these hassles in the future.
)
  end

  def self.down
    raise "Older migrations have been removed because of incompatibility."
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.99.1 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.99.0 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.98.3 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.98.2 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.98.1 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.98.0 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.97.0.1 db/migrate/20110511221913_require_earlier_migrations.rb
card-1.97.0 db/migrate/20110511221913_require_earlier_migrations.rb