Sha256: 531994cbc4e6917dfc23b7bb2a0066251a1103469b458fb43fa74f52abecd6d8
Contents?: true
Size: 258 Bytes
Versions: 7
Compression:
Stored size: 258 Bytes
Contents
class AddRolesMaskToUsers < 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
7 entries across 7 versions & 1 rubygems