8 lines
167 B
Ruby
8 lines
167 B
Ruby
|
class AddActiveToUser < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :users do |t|
|
||
|
t.boolean :active, null: false, default: true
|
||
|
end
|
||
|
end
|
||
|
end
|