Skip to content

Instantly share code, notes, and snippets.

@fayimora
Created February 20, 2012 20:09
Show Gist options
  • Save fayimora/1871106 to your computer and use it in GitHub Desktop.
Save fayimora/1871106 to your computer and use it in GitHub Desktop.
class TagJoin < ActiveRecord::Migration
def change
create_table :taggables do |t|
t.string :name
t.integer :taggable_id
t.string :taggable_type
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment