Point Attribute?
-
Has there been any discussion of creating a point attribute? This would be an attribute that can store the two decimal numbers that make up a location like the POINT datatype in MySQL and PostgreSQL. This would be very useful for finding a nearby restaurant or dentist for the reservation system. It would also make storing, retrieving, searching locations from the database more efficient.
I know I can use text attribute with validation, but it would be useful to search for places based on location in the database.
-
If this isn't being considered. Could you point me to the files that would need to be modified in order to make it happen? I'm having a hard time understanding how attributes are created and stored in the db.
-
Hello @neal-chambers
Regarding your below query
m having a hard time understanding how attributes are created and stored in the db.
Check the below link for the reference of how to create attributes in Bagisto
https://docs.bagisto.com/2.3.0/attribute/
And data save inside the attributes table with the below columns as shown in the image below
Warm Regards
Team Bagisto