Update database.sql

Auto increment on the id for each table as requested by albert to simplify the system