-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
195 additions
and
34 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
Empty file.
19 changes: 19 additions & 0 deletions
19
...s_integrationstest/tests/test_column_not_null_constraint_name/erzeuge_ausgangszustand.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,19 @@ | ||
create table tab_modify_constraint | ||
( | ||
id number(15) constraint wrong_name not null | ||
); | ||
|
||
create table tab_remove_name | ||
( | ||
id number(15) constraint remove_name not null | ||
); | ||
|
||
create table tab_remove_constraint | ||
( | ||
id number(15) constraint remove_name2 not null | ||
); | ||
|
||
create table tab_recreate_column | ||
( | ||
id number(20) constraint correct_name not null | ||
); |
47 changes: 47 additions & 0 deletions
47
orcas_integrationstest/tests/test_column_not_null_constraint_name/erzeuge_zielzustand.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,47 @@ | ||
create table tab_new_constraint | ||
( | ||
id number(15) constraint create_xy not null | ||
); | ||
|
||
create table tab_modify_constraint | ||
( | ||
id number(15) constraint update_xy not null | ||
); | ||
|
||
create table tab_remove_name | ||
( | ||
id number(15) not null | ||
); | ||
|
||
create table tab_remove_constraint | ||
( | ||
id number(15) | ||
); | ||
|
||
create table tab_recreate_column | ||
( | ||
id number(15) constraint correct_name not null | ||
); | ||
|
||
create table tab_with_two_not_null_con | ||
( | ||
id number(15) constraint one_name not null, | ||
constraint other_name check ("ID" IS NOT NULL) | ||
); | ||
|
||
create table tab_noname_not_null_con | ||
( | ||
id number(15) not null | ||
); | ||
|
||
create table tab_with_separate_not_null_con | ||
( | ||
id number(15), | ||
constraint other_name2 check ("ID" IS NOT NULL) | ||
); | ||
|
||
create table tab_with_unnamed_and_sec | ||
( | ||
id number(15) not null, | ||
constraint other_name3 check ("ID" IS NOT NULL) | ||
); |
3 changes: 3 additions & 0 deletions
3
orcas_integrationstest/tests/test_column_not_null_constraint_name/parameter.properties
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 @@ | ||
dropmode = false | ||
test_extract = true | ||
|
47 changes: 47 additions & 0 deletions
47
orcas_integrationstest/tests/test_column_not_null_constraint_name/tabellen/tabelle.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,47 @@ | ||
create table tab_new_constraint | ||
( | ||
id number(15) constraint create_xy not null | ||
); | ||
|
||
create table tab_modify_constraint | ||
( | ||
id number(15) constraint update_xy not null | ||
); | ||
|
||
create table tab_remove_name | ||
( | ||
id number(15) not null | ||
); | ||
|
||
create table tab_remove_constraint | ||
( | ||
id number(15) | ||
); | ||
|
||
create table tab_recreate_column | ||
( | ||
id number(15) constraint correct_name not null | ||
); | ||
|
||
create table tab_with_two_not_null_con | ||
( | ||
id number(15) constraint one_name not null, | ||
constraint other_name check ("\"ID\" IS NOT NULL") | ||
); | ||
|
||
create table tab_noname_not_null_con | ||
( | ||
id number(15) not null | ||
); | ||
|
||
create table tab_with_separate_not_null_con | ||
( | ||
id number(15), | ||
constraint other_name2 check ("\"ID\" IS NOT NULL") | ||
); | ||
|
||
create table tab_with_unnamed_and_sec | ||
( | ||
id number(15) not null, | ||
constraint other_name3 check ("\"ID\" IS NOT NULL") | ||
); |