fixed database creation, modified the database schema to include a human-readable and configurable log message