Merge pull request #8444 from MrPetovan/bug/7134-remove-item-activity-relation
Remove extraneous relation on item-activity.id
This commit is contained in:
		
				commit
				
					
						3a2082b840
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -759,7 +759,7 @@ return [
 | 
			
		|||
	"item-activity" => [
 | 
			
		||||
		"comment" => "Activities for items",
 | 
			
		||||
		"fields" => [
 | 
			
		||||
			"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "relation" => ["thread" => "iid"]],
 | 
			
		||||
			"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"],
 | 
			
		||||
			"uri" => ["type" => "varchar(255)", "comment" => ""],
 | 
			
		||||
			"uri-id" => ["type" => "int unsigned", "relation" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"],
 | 
			
		||||
			"uri-hash" => ["type" => "varchar(80)", "not null" => "1", "default" => "", "comment" => "RIPEMD-128 hash from uri"],
 | 
			
		||||
| 
						 | 
				
			
			@ -775,7 +775,7 @@ return [
 | 
			
		|||
	"item-content" => [
 | 
			
		||||
		"comment" => "Content for all posts",
 | 
			
		||||
		"fields" => [
 | 
			
		||||
			"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "relation" => ["thread" => "iid"]],
 | 
			
		||||
			"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"],
 | 
			
		||||
			"uri" => ["type" => "varchar(255)", "comment" => ""],
 | 
			
		||||
			"uri-id" => ["type" => "int unsigned", "relation" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"],
 | 
			
		||||
			"uri-plink-hash" => ["type" => "varchar(80)", "not null" => "1", "default" => "", "comment" => "RIPEMD-128 hash from uri"],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue