Sha256: 48409c4df8089e4119fb0614694a3c3ae350760f1bdc8186fb59ce9b360426d4
Contents?: true
Size: 204 Bytes
Versions: 4
Compression:
Stored size: 204 Bytes
Contents
class CreateCategories < ActiveRecord::Migration def change create_table :categories do |t| t.string :name t.timestamps end add_column :posts, :category_id, :integer end end
Version data entries
4 entries across 4 versions & 2 rubygems