>parent_id identifies the “father” item; its value >must be 1 for “first-level” items, i.e. for items
>with hierarchical level = 1, i.e. for children of the >(non-existent) “Top” item;
is it possible to make top-level starting not from 1 but from 0? so 0 become "non-existent" top-level item and 1,2,.. - visible items?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please, can you quote in a more readable way? Thanks.
Starting from 0 would cause problems with MySQL,
that does not like indexes starting from 0.
This is the same reason why time ago I stopped using
indexes = 0 in pgmarket: they did not cause any problem
with postgres, but, with mysql, if you dump all the database
and then reimport it, it is a big mess...
Marco Pratesi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>parent_id identifies the “father” item; its value >must be 1 for “first-level” items, i.e. for items
>with hierarchical level = 1, i.e. for children of the >(non-existent) “Top” item;
is it possible to make top-level starting not from 1 but from 0? so 0 become "non-existent" top-level item and 1,2,.. - visible items?
Please, can you quote in a more readable way? Thanks.
Starting from 0 would cause problems with MySQL,
that does not like indexes starting from 0.
This is the same reason why time ago I stopped using
indexes = 0 in pgmarket: they did not cause any problem
with postgres, but, with mysql, if you dump all the database
and then reimport it, it is a big mess...
Marco Pratesi