add config to set if or not set date to long where generate ddl