fixed database creation relasedate column