Sediment: Add SL to geometry into DB and minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-08-21 10:56:54 +02:00
1 parent 768a0b9f14
commit cd07f3aa8d
6 files changed
+18 -7

No files matched your search

+3 -1
View File
@@ -44,7 +44,9 @@ class PointXYZ(Point, SQLSubModel):
y INTEGER NOT NULL,
z INTEGER NOT NULL,
profile INTEGER NOT NULL,
FOREIGN KEY(profile) REFERENCES profileXYZ(id)
sl INTEGER,
FOREIGN KEY(profile) REFERENCES profileXYZ(id),
FOREIGN KEY(sl) REFERENCES sedimentary_layer(id)
)
""")