Sha256: a7c181cb92e52000d1d6345b1a5738e8ee52d0293f0fa7645ab63c8919311129

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

class CreateTaggings < ActiveRecord::Migration
  def self.up
    create_table :taggings do |t|
      t.integer :tag_id
      t.integer :taggable_id
      t.string :taggable_type
      t.integer :taggable_version

      t.timestamps
    end
  end

  def self.down
    drop_table :taggings
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20081031140512_create_taggings.rb
nate-browsercms-3.0.211 db/migrate/20081031140512_create_taggings.rb