Sha256: 8d795aa0814db909fe371d1b5893d8a720d90ee1088c1b888fe546c67c53e589

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

class CreateC80CatoffersCrows < ActiveRecord::Migration
  def change
    create_table :c80_catoffers_crows, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.integer :ord
      t.references :csample, index: true
      t.references :offer, index: true

      t.timestamps null: false
    end
    # add_foreign_key :c80_catoffers_crows, :csamples
    # add_foreign_key :c80_catoffers_crows, :offers
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
c80_catoffers-0.1.0.8 db/migrate/20161106191544_create_c80_catoffers_crows.rb
c80_catoffers-0.1.0.7 db/migrate/20161106191544_create_c80_catoffers_crows.rb
c80_catoffers-0.1.0.6 db/migrate/20161106191544_create_c80_catoffers_crows.rb
c80_catoffers-0.1.0.5 db/migrate/20161106191544_create_c80_catoffers_crows.rb
c80_catoffers-0.1.0.4 db/migrate/20161106191544_create_c80_catoffers_crows.rb