Add two more indices to treenode table and NOT NULL constraint to skeleton_id