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

14 lines
202 B
Ruby
Raw Normal View History

2011-02-04 04:13:41 +00:00
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