Sha256: aa27afb44b6833848dcadb289d27362c2ecde7f2ff9c3ae8ea76d6c0364613eb
Contents?: true
Size: 240 Bytes
Versions: 3
Compression:
Stored size: 240 Bytes
Contents
class CreatePosts < ActiveRecord::Migration def self.up create_table :posts do |t| t.string :title t.string :body t.integer :user_id t.timestamps end end def self.down drop_table :posts end end
Version data entries
3 entries across 3 versions & 1 rubygems