Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 06e2e20077
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.285 kb
class CreateComments < ActiveRecord::Migration
def self.up
create_table :comments do |t|
t.integer :article_id
t.string :author_name
t.string :site_url
t.text :content
t.timestamps
end
end
def self.down
drop_table :comments
end
end
Jump to Line
Something went wrong with that request. Please try again.