impressionist/test_app/db/migrate/20110201153144_create_artic...

14 lines
202 B
Ruby

class CreateArticles < ActiveRecord::Migration
def self.up
create_table :articles do |t|
t.string :name
t.timestamps
end
end
def self.down
drop_table :articles
end
end