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