Sha256: 14aef0ac1f2cc4948ce4cee4ecf4efd22f78e4c84df6e0d14f342e432aac4666
Contents?: true
Size: 460 Bytes
Versions: 23
Compression:
Stored size: 460 Bytes
Contents
class CreateC80YaxJoinTableCatsStrsubcats < ActiveRecord::Migration def change create_table :c80_yax_cats_strsubcats, :id => false do |t| t.integer :cat_id, :null => false t.integer :strsubcat_id, :null => false end add_index :c80_yax_cats_strsubcats, [:cat_id, :strsubcat_id], :unique => true, :name => 'my_index_q' add_index :c80_yax_cats_strsubcats, [:strsubcat_id, :cat_id], :unique => true, :name => 'my_index_w' end end
Version data entries
23 entries across 23 versions & 1 rubygems