feat: make identity server store user instance/guild IDs
This commit is contained in:
		
							parent
							
								
									42abd70184
								
							
						
					
					
						commit
						fd77dd01fa
					
				
					 19 changed files with 245 additions and 29 deletions
				
			
		
							
								
								
									
										7
									
								
								identity/migrations/20240228151314_store_guilds.sql
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								identity/migrations/20240228151314_store_guilds.sql
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| create table guilds_accounts ( | ||||
|     chat_instance_id text not null references chat_instances (id) on delete cascade, | ||||
|     guild_id text not null, | ||||
|     account_id text not null references accounts (id) on delete cascade, | ||||
| 
 | ||||
|     primary key (chat_instance_id, guild_id, account_id) | ||||
| ); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue