Insert new command into database.