Sha256: 9e55a6427fc66d6fc000a8cea00a6be6f56465b2d30dad41b2df346161c5bbfc
Contents?: true
Size: 261 Bytes
Versions: 31
Compression:
Stored size: 261 Bytes
Contents
class AddFieldsToUsers < ActiveRecord::Migration def self.up add_column :users, :sash_id, :integer add_column :users, :level, :integer, :default => 0 end def self.down remove_column :users, :sash_id remove_column :users, :level end end
Version data entries
31 entries across 31 versions & 1 rubygems