mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
10 lines
214 B
Ruby
10 lines
214 B
Ruby
|
|
class UserEmailPublicDefaultsToFalse < ActiveRecord::Migration[5.0]
|
||
|
|
def up
|
||
|
|
change_column_default :users, :email_public, false
|
||
|
|
end
|
||
|
|
|
||
|
|
def down
|
||
|
|
change_column_default :users, :email_public, true
|
||
|
|
end
|
||
|
|
end
|