Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
fkconstraints testdummysubcomponent corected
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner authored Oct 15, 2023
1 parent 3a8aac0 commit 5f1c50a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DDL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ function up()
create_table(:testdummySubComponents) do
[
column(:id, :bigserial, "PRIMARY KEY")
column(:ref_history, :bigint, "REFERENCES testdummyComponents(id) ON DELETE CASCADE")
column(:ref_history, :bigint, "REFERENCES histories(id) ON DELETE CASCADE")
column(:ref_version, :bigint, "REFERENCES versions(id) ON DELETE CASCADE")
column(:ref_super, :bigint, "REFERENCES histories(id) ON DELETE CASCADE")
column(:ref_super, :bigint, "REFERENCES testdummyComponents(id) ON DELETE CASCADE")
]
end

Expand Down Expand Up @@ -221,4 +221,4 @@ function down()
drop_table(:versions)
drop_table(:histories)
end
end #module
end #module

0 comments on commit 5f1c50a

Please sign in to comment.