Sha256: 55c46fb9fc996f99796a5a9c6446bb0e1c4fc3a2afd33a399a602c28048bb1ef
Contents?: true
Size: 240 Bytes
Versions: 240
Compression:
Stored size: 240 Bytes
Contents
class AddFormerUserToUser < ActiveRecord::Migration[6.0] def change add_column :users, :former_user, :boolean, default: false User.update_all(former_user: false) change_column_null :users, :former_user, false, false end end
Version data entries
240 entries across 240 versions & 1 rubygems