mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-24 18:17:53 +01:00
Fixed Patch code failing if a table doesn't exist
This commit is contained in:
parent
1378d3100e
commit
e2310e4376
@ -85,7 +85,7 @@ public abstract class Patch extends OperationCriticalTransaction {
|
||||
}
|
||||
|
||||
protected void dropTable(String name) {
|
||||
execute("DROP TABLE " + name);
|
||||
execute("DROP TABLE IF EXISTS " + name);
|
||||
}
|
||||
|
||||
protected void renameTable(String from, String to) {
|
||||
|
Loading…
Reference in New Issue
Block a user