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.
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| 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
 |