extend database
add stat table class