Commit d0acface authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Geometry, doc: Fix pointXYZ foreign key.

No related merge requests found
Pipeline #55100 passed with stages
in 6 minutes and 54 seconds
Showing with 8 additions and 5 deletions
+8 -5
......@@ -456,15 +456,18 @@ of Bar (Listing [[sql-bar]] and [[sql-foo]]).
bar._sql_save(execute, data=data)
#+end_src
[fn:sqlite] The SQLite web site: https://www.sqlite.org/index.html
(last access 2023-09-20)
Let see the results database scheme for Pamhyr2 at version v0.0.7 in
Figure [[sql_schema]].
#+NAME: sql_schema
#+ATTR_LATEX: :width 13cm
#+ATTR_LATEX: :width 16cm
#+CAPTION: SQLite database scheme at Pamhyr2 version v0.0.7 (generate with [[https://gitlab.com/Screwtapello/sqlite-schema-diagram]])
[[./images/schema_v0.0.7.png]]
[fn:sqlite] The SQLite web site: https://www.sqlite.org/index.html
(last access 2023-09-20)
*** List class
A abstract class PamhyrModelList is available and provide some of
......
doc/dev/images/schema_v0.0.7.png

224 KB | W: | H:

doc/dev/images/schema_v0.0.7.png

224 KB | W: | H:

doc/dev/images/schema_v0.0.7.png
doc/dev/images/schema_v0.0.7.png
doc/dev/images/schema_v0.0.7.png
doc/dev/images/schema_v0.0.7.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -47,7 +47,7 @@ class PointXYZ(Point, SQLSubModel):
z INTEGER NOT NULL,
profile INTEGER NOT NULL,
sl INTEGER,
FOREIGN KEY(profile) REFERENCES profileXYZ(id),
FOREIGN KEY(profile) REFERENCES geometry_profileXYZ(id),
FOREIGN KEY(sl) REFERENCES sedimentary_layer(id)
)
""")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment