Use bigint for db_type