#19, #20 added enum for different db systems