Retrospring/db/migrate/20141226115905_add_moderato...

8 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