2023-07-12 09:47:08 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-07-13 02:16:06 +02:00
|
|
|
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
|