impressionist/test_app/db/migrate/20110210205028_create_posts.rb

14 lines
193 B
Ruby
Raw Normal View History

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