mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-19 13:08:18 +00:00
Merge branch 'issue-14540' into production.panel.sutty.nl
This commit is contained in:
commit
31c2d9c393
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class AddDefaultToDistributedPressPublisher < ActiveRecord::Migration[6.1]
|
||||||
def up
|
def up
|
||||||
add_column :distributed_press_publishers, :default, :boolean, default: false
|
add_column :distributed_press_publishers, :default, :boolean, default: false
|
||||||
|
|
||||||
DistributedPressPublisher.last.update(default: true)
|
DistributedPressPublisher.last&.update(default: true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|
Loading…
Reference in a new issue