Sha256: a4fca4612693770a0015512ee88fa54cdc2ef4b9675c46f64b10e74f3e1dc637

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

class CreateRedirects < ActiveRecord::Migration
  def self.up
    create_table :redirects do |t|
      t.string :from_path
      t.string :to_path

      t.timestamps
    end
  end

  def self.down
    drop_table :redirects
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20080917222336_create_redirects.rb
nate-browsercms-3.0.211 db/migrate/20080917222336_create_redirects.rb