Forg/db/migrate/20240414122652_add_verified...

7 lines
182 B
Ruby
Raw Normal View History

2024-04-14 19:01:32 +00:00
class AddVerifiedToUser < ActiveRecord::Migration[7.1]
def change
add_column :users, :verified, :boolean, null: false, default: false
add_index :users, :verified
end
end