10 lines
212 B
Ruby
10 lines
212 B
Ruby
|
class UpdateUserMailNotification < ActiveRecord::Migration
|
||
|
def up
|
||
|
sql = "update `users` set mail_notification ='all' where mail_notification in ('day','week');"
|
||
|
execute(sql)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|