20170718211102_add_activitypub_to_accounts.rb 487 B

12345678910111213
  1. # frozen_string_literal: true
  2. class AddActivityPubToAccounts < ActiveRecord::Migration[5.1]
  3. def change
  4. change_table(:accounts, bulk: true) do |t|
  5. t.column :inbox_url, :string, null: false, default: ''
  6. t.column :outbox_url, :string, null: false, default: ''
  7. t.column :shared_inbox_url, :string, null: false, default: ''
  8. t.column :followers_url, :string, null: false, default: ''
  9. t.column :protocol, :integer, null: false, default: 0
  10. end
  11. end
  12. end