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

7 lines
184 B
Ruby

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