Skip to content

Commit

Permalink
reverted changes in createTable that were intended for addForeignKey
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Aug 7, 2024
1 parent bfa9801 commit 2ddfcf9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet id="1" author="v">
<addPrimaryKey tableName="authors" columnNames="id" constraintName="pk_authors"/>
</changeSet>
<changeSet id="1" author="ewojtach">
<createTable tableName="test_table" >
<column name="test_id" type="INTEGER">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ALTER TABLE harness_test_ds.authors ADD PRIMARY KEY (id) NOT ENFORCED
CREATE TABLE harness_test_ds.test_table (test_id INT, test_FK_column INT, PRIMARY KEY (test_id) NOT ENFORCED, CONSTRAINT fk_test FOREIGN KEY (test_FK_column) REFERENCES harness_test_ds.authors(id) NOT ENFORCED)

0 comments on commit 2ddfcf9

Please sign in to comment.