From bbdcfd6baf8da01098eb377c3d3579b23ae54d80 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 19 Jul 2017 17:06:46 +0200 Subject: Add ActivityPub attributes to accounts (#4273) --- db/migrate/20170718211102_add_activitypub_to_accounts.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20170718211102_add_activitypub_to_accounts.rb (limited to 'db/migrate') diff --git a/db/migrate/20170718211102_add_activitypub_to_accounts.rb b/db/migrate/20170718211102_add_activitypub_to_accounts.rb new file mode 100644 index 000000000..c08e38bb9 --- /dev/null +++ b/db/migrate/20170718211102_add_activitypub_to_accounts.rb @@ -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 -- cgit