retrospring/db/migrate/20141226115905_add_moderator_to_users.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
184 B
Ruby
Raw Permalink Normal View History

2023-10-20 01:37:34 +02:00
# frozen_string_literal: true
class AddModeratorToUsers < ActiveRecord::Migration[4.2]
2014-12-26 13:04:05 +01:00
def change
add_column :users, :moderator, :boolean, default: false, null: false
end
end