Add ActivityPub attributes to accounts (#4273)
This commit is contained in:
parent
f0d6550f16
commit
bbdcfd6baf
6 changed files with 27 additions and 2 deletions
9
db/migrate/20170718211102_add_activitypub_to_accounts.rb
Normal file
9
db/migrate/20170718211102_add_activitypub_to_accounts.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class AddActivityPubToAccounts < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
add_column :accounts, :inbox_url, :string, null: false, default: ''
|
||||
add_column :accounts, :outbox_url, :string, null: false, default: ''
|
||||
add_column :accounts, :shared_inbox_url, :string, null: false, default: ''
|
||||
add_column :accounts, :followers_url, :string, null: false, default: ''
|
||||
add_column :accounts, :protocol, :integer, null: false, default: 0
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue