Added SQL permissions and comment tables.