20180711152640_create_relays.rb 288 B

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