Sha256: e259c6e6e29e63a76481fba57af477401672b94ff6db833196d409632750be1b

Contents?: true

Size: 209 Bytes

Versions: 38

Compression:

Stored size: 209 Bytes

Contents

class AddRedirectsTable < ActiveRecord::Migration
  def self.up
    create_table :redirects do |t|
      t.string :pattern
      t.string :to
    end
  end

  def self.down
    drop_table :redirects
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
rest-assured-2.2.0 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-2.1.0 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-2.0.2 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-2.0.1 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-2.0.0 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.2.2 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.2.1 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.2.0 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.10 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.9 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.8 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.7 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.6 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.5 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.4 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.3 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.2 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.1 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.1.0 db/migrate/20110625155332_add_redirects_table.rb
rest-assured-1.0.0 db/migrate/20110625155332_add_redirects_table.rb