Sha256: c37e10b04b026a6911586fd9d25b5c27341a534794adf2c1403a1a1e9edf7494
Contents?: true
Size: 220 Bytes
Versions: 18
Compression:
Stored size: 220 Bytes
Contents
class CreatePosts < ActiveRecord::Migration[5.0] def change create_table :posts do |t| t.string :title t.string :body t.belongs_to :author, foreign_key: true t.timestamps end end end
Version data entries
18 entries across 18 versions & 1 rubygems