20180711152640_create_relays.rb 319 B

1234567891011121314
  1. # frozen_string_literal: true
  2. class CreateRelays < ActiveRecord::Migration[5.2]
  3. def change
  4. create_table :relays do |t|
  5. t.string :inbox_url, default: '', null: false
  6. t.boolean :enabled, default: false, null: false, index: true
  7. t.string :follow_activity_id
  8. t.timestamps
  9. end
  10. end
  11. end