Sha256: 312bd484308b28ae2f7d8d0ccb2cf36d00ca5a1e99f9c249b1e7872b6b1aaf99

Contents?: true

Size: 291 Bytes

Versions: 32

Compression:

Stored size: 291 Bytes

Contents

class CreateTagsetAssignments < ActiveRecord::Migration
  def change
    create_table :tagset_assignments do |t|
      t.references :tag
      t.references :tagset

      t.timestamps
    end
    add_index :tagset_assignments, :tag_id
    add_index :tagset_assignments, :tagset_id
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
lentil-0.2.1 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.2.0 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.8 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.7 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.6 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.3 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.2 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.1 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.1.0 db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.0.3.pre db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.0.2.pre db/migrate/20121119210538_create_tagset_assignments.rb
lentil-0.0.1.pre db/migrate/20121119210538_create_tagset_assignments.rb