Sha256: 6a11b11a6f4a49c122c50d78a8cd61e0e8b913a885a1306eac5ae581931f3ec5

Contents?: true

Size: 257 Bytes

Versions: 62

Compression:

Stored size: 257 Bytes

Contents

class CreateTags < ActiveRecord::Migration
  def change
    create_table :tags do |t|
      t.string :title

      t.timestamps
    end

    create_table :products_tags, id: false do |t|
      t.references :tag
      t.references :product
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
tabulatr2-0.10.4 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.10.3 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.10.2 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.10.1 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.10.0 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.48 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.47 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.46 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.45 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.44 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.43 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.42 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.41 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.40 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.39 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.38 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.37 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.36 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.35 spec/dummy/db/migrate/20130730132348_create_tags.rb
tabulatr2-0.9.34 spec/dummy/db/migrate/20130730132348_create_tags.rb