forked from berserker/microblog
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
Same URI passed between follow request and follow, since they are the same thing in ActivityPub. Local URIs are generated during creation using UUIDs and are passed to serializers.local
parent
d1aef17f9a
commit
6793bec4c6
11 changed files with 64 additions and 13 deletions
@ -0,0 +1,7 @@ |
||||
class AddUriToRelationships < ActiveRecord::Migration[5.2] |
||||
def change |
||||
add_column :follows, :uri, :string |
||||
add_column :follow_requests, :uri, :string |
||||
add_column :blocks, :uri, :string |
||||
end |
||||
end |
Loading…
Reference in new issue