Add antenna ignore reboot setting

This commit is contained in:
KMY 2023-05-10 12:37:46 +09:00
parent 7c31932828
commit 1c174a6f7b
8 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
class AddIgnoreReblogToAntennas < ActiveRecord::Migration[6.1]
def change
safety_assured do
add_column :antennas, :ignore_reblog, :boolean, null: false, default: false
add_index :antennas, :ignore_reblog
end
end
end