shady database queries

logs table creation on database connection