Sha256: ea720add2688b9d6701d9b43019beccb9f3a110cdf5645d85b1659096544d9fb

Contents?: true

Size: 266 Bytes

Versions: 32

Compression:

Stored size: 266 Bytes

Contents

class CreateLicensings < ActiveRecord::Migration
  def change
    create_table :licensings do |t|
      t.references :image
      t.references :license

      t.timestamps
    end
    add_index :licensings, :image_id
    add_index :licensings, :license_id
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
lentil-1.0.5 db/migrate/20121120172712_create_licensings.rb
lentil-1.0.4 db/migrate/20121120172712_create_licensings.rb
lentil-1.0.3 db/migrate/20121120172712_create_licensings.rb
lentil-1.0.2 db/migrate/20121120172712_create_licensings.rb
lentil-1.0.1 db/migrate/20121120172712_create_licensings.rb
lentil-1.0.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.9.1 db/migrate/20121120172712_create_licensings.rb
lentil-0.9.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.8.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.7.1 db/migrate/20121120172712_create_licensings.rb
lentil-0.6.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.5.2 db/migrate/20121120172712_create_licensings.rb
lentil-0.5.1 db/migrate/20121120172712_create_licensings.rb
lentil-0.5.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.4.2 db/migrate/20121120172712_create_licensings.rb
lentil-0.4.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.3.1 db/migrate/20121120172712_create_licensings.rb
lentil-0.3.0 db/migrate/20121120172712_create_licensings.rb
lentil-0.2.3 db/migrate/20121120172712_create_licensings.rb
lentil-0.2.2 db/migrate/20121120172712_create_licensings.rb