Sha256: a6d65f775524c0db062e228ae1adf8c48521fa817a543cc1fa30fb78272784c5
Contents?: true
Size: 289 Bytes
Versions: 9
Compression:
Stored size: 289 Bytes
Contents
class AddVirtualToUsers < ActiveRecord::Migration class User < ActiveRecord::Base; end def self.up add_column :users, :virtual, :boolean, :default => false User.find_all.each do |u| u.virtual = false end end def self.down end end
Version data entries
9 entries across 9 versions & 1 rubygems