mercredi 23 septembre 2020

Add point datatype field in laravel 5.8 migration

I have to add point datatype for a postgres database field in laravel 5.8. I am using below code -

$table->point('coordinates')

It is adding geography datatype.

The same question has been put here as well.

How can I add point datatype.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire