1
0
Fork 0
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:
Yann 2015-11-05 15:34:44 +01:00
commit 94a5afcdd7
4 changed files with 60 additions and 3 deletions

View file

@ -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