mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-27 07:37:00 +00:00
e55dce3176
* Add federation relay support * Add admin UI for managing relays * Include actor on relay-related activities * Fix i18n
13 lines
288 B
Ruby
13 lines
288 B
Ruby
class CreateRelays < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :relays do |t|
|
|
t.string :inbox_url, default: '', null: false
|
|
t.boolean :enabled, default: false, null: false, index: true
|
|
|
|
t.string :follow_activity_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|