final schema for database, no queries table