Updated sql for init table creation (Field type data to datetime)