Sha256: 3091a39cc36999a945977eaa397a92dfb6b150aa670c0da3184554c06ab151bd
Contents?: true
Size: 266 Bytes
Versions: 12
Compression:
Stored size: 266 Bytes
Contents
class AddRoleStringToUsers < ActiveRecord::Migration def self.up change_table :users do |t| t.string :role_string, :default => 'guest' end end def self.down change_table :users do |t| t.remove :role_string end end end
Version data entries
12 entries across 12 versions & 1 rubygems