retrospring/db/migrate/20141126154451_add_admin_to_users.rb
2023-10-21 13:01:07 +02:00

7 lines
176 B
Ruby

# frozen_string_literal: true
class AddAdminToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :admin, :boolean, default: false, null: false
end
end