chore: turn on foreign keys
This commit is contained in:
		
							parent
							
								
									98255cd7a8
								
							
						
					
					
						commit
						f7b7cc5144
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -16,6 +16,7 @@ class DatabaseService: | |||
| 
 | ||||
|         try: | ||||
|             self.connection = sqlite3.connect(f"{self.db_path}/{self.db_name}.db") | ||||
|             self.connection.execute("PRAGMA foreign_keys = ON") | ||||
|             print(colored("INFO Database connection established", "light_blue")) | ||||
|             return self.connection | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 thomasabishop
						thomasabishop