Migration method fix
This commit is contained in:
		
							parent
							
								
									d434e8fb0f
								
							
						
					
					
						commit
						33c67ff4de
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -66,7 +66,7 @@ public class Database { | ||||||
|         String migration = readResourceFile("/migration.sql"); |         String migration = readResourceFile("/migration.sql"); | ||||||
|         try { |         try { | ||||||
|             Statement stmt = conn.createStatement(); |             Statement stmt = conn.createStatement(); | ||||||
|             stmt.execute(migration); |             stmt.executeUpdate(migration); | ||||||
|         } catch (SQLException e) { |         } catch (SQLException e) { | ||||||
|             e.printStackTrace(); |             e.printStackTrace(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus