20170718211102_add_activitypub_to_accounts.rb 456 B

123456789
  1. class AddActivityPubToAccounts < ActiveRecord::Migration[5.1]
  2. def change
  3. add_column :accounts, :inbox_url, :string, null: false, default: ''
  4. add_column :accounts, :outbox_url, :string, null: false, default: ''
  5. add_column :accounts, :shared_inbox_url, :string, null: false, default: ''
  6. add_column :accounts, :followers_url, :string, null: false, default: ''
  7. add_column :accounts, :protocol, :integer, null: false, default: 0
  8. end
  9. end