about summary refs log tree commit diff
path: root/db/migrate/20180711152640_create_relays.rb
blob: 8762f473a29e11e8e96afce553ff78650f5dd4b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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