Skip to content

Commit

Permalink
Fix Oracle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Feb 24, 2018
1 parent 455b1f3 commit 766f249
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/data/oci.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "bool_values_SEQ"'; EXCEPTION WHEN OTHERS
BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "animal_SEQ"'; EXCEPTION WHEN OTHERS THEN IF SQLCODE != -2289 THEN RAISE; END IF; END;--
BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "document_SEQ"'; EXCEPTION WHEN OTHERS THEN IF SQLCODE != -2289 THEN RAISE; END IF; END;--
BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "T_upsert_SEQ"'; EXCEPTION WHEN OTHERS THEN IF SQLCODE != -2289 THEN RAISE; END IF; END;--
BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "department_SEQ"'; EXCEPTION WHEN OTHERS THEN IF SQLCODE != -2289 THEN RAISE; END IF; END;--
BEGIN EXECUTE IMMEDIATE 'DROP SEQUENCE "employee_SEQ"'; EXCEPTION WHEN OTHERS THEN IF SQLCODE != -2289 THEN RAISE; END IF; END;--

/* STATEMENTS */

Expand Down Expand Up @@ -213,7 +215,7 @@ CREATE TABLE "employee" (
"department_id" INTEGER NOT NULL,
"first_name" varchar2(255) not null,
"last_name" varchar2(255) not null,
CONSTRAINT "employee_PK" PRIMARY KEY ("id") ENABLE
CONSTRAINT "employee_PK" PRIMARY KEY ("id", "department_id") ENABLE
);
CREATE SEQUENCE "employee_SEQ";

Expand Down

0 comments on commit 766f249

Please sign in to comment.