Sha256: 64bc247ffe1dd3efd455560cb6ee7542f208bdf00808e982c4dad1eab79fdd3c
Contents?: true
Size: 263 Bytes
Versions: 17
Compression:
Stored size: 263 Bytes
Contents
class AddAdminFlagStrategy < ActiveRecord::Migration def self.up change_table :users do |t| t.boolean :admin_flag, :default => false end end def self.down change_table :users do |t| t.remove :admin_flag end end end
Version data entries
17 entries across 17 versions & 1 rubygems