extend constrain command, add database and plan commands