Sha256: 8cf70b6f8c5d8d53d24dd0e4d487717732a6528c0f6a3edb060b6c770b9438ca

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

class CreateMovieFoggedResources < ActiveRecord::Migration
  def change
    create_table :movie_fogged_resources do |t|
      t.belongs_to :movie, :index => true
      t.belongs_to :resource, :index => true

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fogged-0.0.2 test/dummy/db/migrate/20141104152345_create_movie_fogged_resources.rb