Files
baffle-hub/db/migrate/20251118071813_add_is_bot_to_events.rb

7 lines
179 B
Ruby

class AddIsBotToEvents < ActiveRecord::Migration[8.1]
def change
add_column :events, :is_bot, :boolean, default: false, null: false
add_index :events, :is_bot
end
end