dan tgms commands in the database