o.c.ams: Changed SQL scripts. The history table must not be created in
the cache database.