parent
5c4ad1ce7d
commit
461d9cc183
@ -0,0 +1,9 @@
|
|||||||
|
class ChangeAutologinFromSettings < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
Setting.where(name: 'autologin').update_all(value: 60)
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
Setting.where(name: 'autologin').update_all(value: 7)
|
||||||
|
end
|
||||||
|
end
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue