-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ergon/feature/oracle_support
Feature/oracle support
- Loading branch information
Showing
96 changed files
with
1,822 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
integration-test-db/src/main/resources/adam/oracle/git_history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1 | ||
2 1 | ||
3 1 | ||
4 2 3 | ||
5 4 |
35 changes: 35 additions & 0 deletions
35
integration-test-db/src/main/resources/adam/oracle/schema/test.table.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: "test_table" | ||
fields: | ||
- name: "id" | ||
dataType: "BIGINT" | ||
sequence: true | ||
- name: "col1" | ||
dataType: "DECIMAL_INTEGER" | ||
- name: "col2" | ||
dataType: "NUMERIC" | ||
defaultValue: "10" | ||
nullable: true | ||
precision: 10 | ||
scale: 2 | ||
- name: "col3" | ||
dataType: "VARCHAR" | ||
nullable: true | ||
- name: "col4" | ||
dataType: "VARCHAR" | ||
length: 10 | ||
- name: "col5" | ||
dataType: "VARCHAR" | ||
nullable: true | ||
foreignKeys: [] | ||
indexes: | ||
- name: "test_table_col1_key" | ||
fields: | ||
- "col1" | ||
unique: true | ||
- name: "test_table_pkey" | ||
fields: | ||
- "id" | ||
primary: true | ||
unique: true | ||
ruleConstraints: [] |
1 change: 1 addition & 0 deletions
1
...tion-test-db/src/main/resources/adam/oracle/scripts/PREMIGRATION_ONCE/2_faulty_script.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is a faulty script and should cause an error if executed. |
10 changes: 10 additions & 0 deletions
10
...ation-test-db/src/main/resources/adam/oracle/scripts/PREMIGRATION_ONCE/3_first_script.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE a_table | ||
( | ||
id integer | ||
) | ||
; | ||
CREATE TABLE another_table | ||
( | ||
id integer | ||
) | ||
; |
3 changes: 3 additions & 0 deletions
3
...tion-test-db/src/main/resources/adam/oracle/scripts/PREMIGRATION_ONCE/4_second_script.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
INSERT INTO another_table | ||
VALUES (2) | ||
; |
5 changes: 5 additions & 0 deletions
5
...ation-test-db/src/main/resources/adam/oracle/scripts/PREMIGRATION_ONCE/5_create_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE test_table | ||
( | ||
col1 CLOB | ||
) | ||
; |
1 change: 1 addition & 0 deletions
1
integration-test-db/src/main/resources/adam/oracle/target_version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
4 changes: 3 additions & 1 deletion
4
integration-test-db/src/main/resources/adam/scripts/PREMIGRATION_ONCE/3_first_script.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
CREATE TABLE a_table | ||
( | ||
id integer | ||
); | ||
) | ||
; | ||
CREATE TABLE another_table | ||
( | ||
id integer | ||
) | ||
; |
1 change: 1 addition & 0 deletions
1
integration-test-db/src/main/resources/adam/scripts/PREMIGRATION_ONCE/4_second_script.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
INSERT INTO another_table | ||
VALUES (2) | ||
; |
3 changes: 2 additions & 1 deletion
3
integration-test-db/src/main/resources/adam/scripts/PREMIGRATION_ONCE/5_create_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CREATE TABLE test_table | ||
( | ||
col1 TEXT | ||
); | ||
) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4 | ||
5 |
Oops, something went wrong.