5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 14:56:21 +00:00
panel/db/migrate/20240305164653_change_remote_flags.rb
2024-03-05 14:18:06 -03:00

12 lines
292 B
Ruby

# frozen_string_literal: true
# Agrega relaciones en las remote flags
class ChangeRemoteFlags < ActiveRecord::Migration[6.1]
def up
add_column :activity_pubs, :remote_flag_id, :uuid, index: true, null: true
end
def down
remove_column :activity_pubs, :remote_flag_id
end
end