Sha256: 5625e842b9692590c47f1d0c50ff91bf3c0939b800e88ff93e65be314bd66756

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

class CreateRequestRefineryControllerFilters < ActiveRecord::Migration
  def change
    create_table :request_refinery_controller_filters do |t|
      t.string :http_method
      t.string :controller
      t.string :action_name

      t.timestamps
    end

    create_table :request_refinery_controller_filters_permissions do |t|
      t.belongs_to :controller_filter
      t.belongs_to :permission

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
request_refinery-0.0.2 db/migrate/20141003190734_create_request_refinery_controller_filters.rb
request_refinery-0.0.1 db/migrate/20141003190734_create_request_refinery_controller_filters.rb