saucy/db/migrate/20220625210821_add_active_t...

8 lines
167 B
Ruby
Raw Permalink Normal View History

2022-06-25 22:45:47 +00:00
class AddActiveToUser < ActiveRecord::Migration[7.0]
def change
change_table :users do |t|
t.boolean :active, null: false, default: true
end
end
end