Sha256: 5288d92561d30b261838bf486d24ebf3dbf7ab13bbdd79bd02bb88238f7fd0ad
Contents?: true
Size: 267 Bytes
Versions: 17
Compression:
Stored size: 267 Bytes
Contents
class AddRoleStringStrategy < 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
17 entries across 17 versions & 1 rubygems