updated db schema, allowing NULL for author_id