Sha256: d4e1c7f77e9916db93287df428983341363315b1fa83664e11a323960965b715

Contents?: true

Size: 509 Bytes

Versions: 5

Compression:

Stored size: 509 Bytes

Contents

# This migration comes from droom (originally 20121120115447)
class Tags < ActiveRecord::Migration
  def change
    create_table :droom_tags do |t|
      t.column :name, :string
      t.column :parent_id, :integer
      t.column :created_by_id, :integer
      t.timestamps
    end
    
    create_table :droom_taggings do |t|
      t.column :tag_id, :integer
      t.column :taggee_id, :integer
      t.column :taggee_type, :string
      t.column :created_by_id, :integer
      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
droom-0.5.3 spec/dummy/db/migrate/20130121122352_tags.droom.rb
droom-0.4.3 spec/dummy/db/migrate/20130121122352_tags.droom.rb
droom-0.4.2 spec/dummy/db/migrate/20130121122352_tags.droom.rb
droom-0.4.1 spec/dummy/db/migrate/20130121122352_tags.droom.rb
droom-0.2.1 spec/dummy/db/migrate/20130121122352_tags.droom.rb