Fix sintax errors in Db.sql
Add key fields for database