Sha256: c9495eb67deb67572dd79ae67a319fc1f45d04cf6c4c850ab706bcfa1479a697
Contents?: true
Size: 276 Bytes
Versions: 20
Compression:
Stored size: 276 Bytes
Contents
class AddFieldsToComments < ActiveRecord::Migration def self.up add_column :comments, :sash_id, :integer add_column :comments, :level, :integer, :default => 0 end def self.down remove_column :comments, :sash_id remove_column :comments, :level end end
Version data entries
20 entries across 20 versions & 1 rubygems