mirror of
https://github.com/yweber/lodel2.git
synced 2026-07-06 23:50:48 +02:00
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
This commit is contained in:
parent
4a38cec9e1
commit
94a5afcdd7
4 changed files with 60 additions and 3 deletions
|
|
@ -16,6 +16,8 @@ class MySQL(object):
|
|||
## @brief indicates if we want ON DELETE CASCADE on foreign keys
|
||||
# @todo implementation in migration handler
|
||||
fk_on_delete_cascade = False
|
||||
## @brief Lodel_id for the hierachy root
|
||||
leroot_lodel_id = 0
|
||||
|
||||
@classmethod
|
||||
## @brief gets the table name from class name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue