Add database SQL for posterity