mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 02:59:23 +00:00
* refactor: drop tables according to their dependencies * refactor: renamed table because USER is an SQL keyword * dep: upgrade com.h2database.h2 1.4.190 to 2.1.214
This commit is contained in:
@@ -60,8 +60,8 @@ public class App {
|
||||
+ "customer_name varchar references CUSTOMERS(name));";
|
||||
|
||||
public static final String DELETE_SCHEMA_SQL =
|
||||
"DROP TABLE CUSTOMERS IF EXISTS;"
|
||||
+ "DROP TABLE PURCHASES IF EXISTS;"
|
||||
"DROP TABLE PURCHASES IF EXISTS;"
|
||||
+ "DROP TABLE CUSTOMERS IF EXISTS;"
|
||||
+ "DROP TABLE PRODUCTS IF EXISTS;";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user