Initial rebuilding of database schema derived from DatabaseStatements.java .
Added (forgotten) PK constraint on timelogs.timestarted .