Sha256: c8e869fc36622d5c73be9cd1ba1d6d2541cd9bae65a6acd42d836da45fce5769

Contents?: true

Size: 165 Bytes

Versions: 19

Compression:

Stored size: 165 Bytes

Contents

class AddAdminToUser < ActiveRecord::Migration[7.0]
  def change
    add_column :users, :admin, :boolean, null: false, default: false, if_not_exists: true
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
thecore_auth_commons-3.3.0 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.2.3 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.2.2 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.2.1 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.7 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.5 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.4 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.3 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.2 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.1 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.1.0 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.13 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.12 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.11 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.10 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.9 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.8 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.7 db/migrate/20160209153229_add_admin_to_user.rb
thecore_auth_commons-3.0.6 db/migrate/20160209153229_add_admin_to_user.rb