mirror of
				https://github.com/dancojocaru2000/foxbank.git
				synced 2025-11-04 12:26:31 +02:00 
			
		
		
		
	Add "drop table if exists" for exchange table
The initialization script is only called if no database exists, so this shouldn't matter since there would be nothing to drop, but consistency is nice.
This commit is contained in:
		
							parent
							
								
									1c56bf2a60
								
							
						
					
					
						commit
						b70e698b18
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -5,6 +5,7 @@ drop table if exists transactions;
 | 
				
			||||||
drop table if exists accounts_transactions;
 | 
					drop table if exists accounts_transactions;
 | 
				
			||||||
drop table if exists notifications;
 | 
					drop table if exists notifications;
 | 
				
			||||||
drop table if exists users_notifications;
 | 
					drop table if exists users_notifications;
 | 
				
			||||||
 | 
					drop table if exists exchange;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
create table users (
 | 
					create table users (
 | 
				
			||||||
	id integer primary key autoincrement,
 | 
						id integer primary key autoincrement,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue