Adding anidb sql-patch files.

jonnyboy can you check the pgsql file. I have no idea if there are differences so I just copied the SQL from MySQL.