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