Sha256: 89ceebb2b4bf506361c9db96d71d34459b2492955a197a6ef7818a239fa8ec8d
Contents?: true
Size: 254 Bytes
Versions: 105
Compression:
Stored size: 254 Bytes
Contents
class AddIsActiveToUsers < ActiveRecord::Migration def change return if not table_exists?(:users) return if column_exists?(:users, :active) return if column_exists?(:users, :is_active) add_column :users, :is_active, :boolean end end
Version data entries
105 entries across 105 versions & 1 rubygems