Sha256: 007132ad7144010af557d2918108cc616d8c930c687df217b877bedb40ef3a27
Contents?: true
Size: 259 Bytes
Versions: 17
Compression:
Stored size: 259 Bytes
Contents
class AddRolesMaskStrategy < ActiveRecord::Migration def self.up change_table :users do |t| t.integer :roles_mask, :default => 0 end end def self.down change_table :users do |t| t.remove :roles_mask end end end
Version data entries
17 entries across 17 versions & 1 rubygems