Sha256: 6148ccba83ef532bcdb0516cdb43b8d473114da43615c038631841508de29b84

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

class CreateRoutepaths < ActiveRecord::Migration
  def change
    create_table :routepaths do |t|
      t.references :function, index: true, foreign_key: true
      t.string :controller, index: true
      t.string :action, index: true
      t.string :method, index: true

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin-sys-1.1.0 db/migrate/20131122021230_create_routepaths.rb