Skip to content

Commit

Permalink
Quote PURCHASE_ORDER table name in PostgreSQL DDL
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Apr 22, 2024
1 parent f3db17e commit cc70ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/postgresql/postgresql.ddl.persistence.sql
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ DROP TABLE SEQUENCE cascade;
CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(10), SEQ_COUNT INTEGER, CONSTRAINT SEQUENCE_PK PRIMARY KEY (SEQ_NAME) );
INSERT into SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0) ;

DROP TABLE PURCHASE_ORDER cascade;
CREATE TABLE PURCHASE_ORDER (ID INTEGER PRIMARY KEY NOT NULL, TOTAL INTEGER, DESCRIPTION VARCHAR(50));
DROP TABLE "PURCHASE_ORDER" cascade;
CREATE TABLE "PURCHASE_ORDER" (ID INTEGER PRIMARY KEY NOT NULL, TOTAL INTEGER, DESCRIPTION VARCHAR(50));

DROP TABLE "ORDER1" cascade;
CREATE TABLE "ORDER1" ("ID" INTEGER PRIMARY KEY NOT NULL, "TOTALPRICE" DOUBLE PRECISION , "FK1_FOR_ITEM" INTEGER);
Expand Down

0 comments on commit cc70ead

Please sign in to comment.