Sha256: 12c7f8e2b7172399b4322d3012425696a568881eeca03e8c112d03fac6c5f64f

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

class C80CatoffersCreateJoinTableCspropsCsamples < ActiveRecord::Migration
  def change
    create_table :c80_catoffers_csamples_csprops, :id => false do |t|
      t.integer :csprop_id, :null => false
      t.integer :csample_id, :null => false
    end

    add_index :c80_catoffers_csamples_csprops, [:csprop_id, :csample_id], :unique => true, :name => 'my_index_23'

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
c80_catoffers-0.1.0.8 db/migrate/20161107123333_c80_catoffers_create_join_table_csprops_csamples.rb
c80_catoffers-0.1.0.7 db/migrate/20161107123333_c80_catoffers_create_join_table_csprops_csamples.rb
c80_catoffers-0.1.0.6 db/migrate/20161107123333_c80_catoffers_create_join_table_csprops_csamples.rb
c80_catoffers-0.1.0.5 db/migrate/20161107123333_c80_catoffers_create_join_table_csprops_csamples.rb
c80_catoffers-0.1.0.4 db/migrate/20161107123333_c80_catoffers_create_join_table_csprops_csamples.rb