Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6d87cd028b
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.2 kb
class CreateTags < ActiveRecord::Migration
def change
create_table :tags do |t|
t.string :name
t.references :post
t.timestamps
end
add_index :tags, :post_id
end
end
Jump to Line
Something went wrong with that request. Please try again.