Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ private Database createAndUpdateDatabase(

private String getCreateTableStatement() {
if (dialect == DatabaseDialect.POSTGRESQL) {
return "CREATE TABLE T (" + " \"K\" VARCHAR PRIMARY KEY" + ")";
return "CREATE TABLE IF NOT EXISTS T (" + " \"K\" VARCHAR PRIMARY KEY" + ")";
} else {
return "CREATE TABLE T (" + " K STRING(MAX)" + ") PRIMARY KEY (K)";
return "CREATE TABLE IF NOT EXISTS T (" + " K STRING(MAX)" + ") PRIMARY KEY (K)";
}
}

Expand Down