体验新版 GitCode,发现更多精彩内容 >>
class CreatePosts < ActiveRecord::Migration def change create_table :posts do |t| t.string :title
t.text :text
t.timestamps end end end