ConservationMetrics / map-packer

A Nuxt app to allow users to generate and manage offline map requests to mapgl-tile-renderer
MIT License
3 stars 0 forks source link

Create an `offline_maps` database table if it doesn't already exist #13

Closed rudokemper closed 5 months ago

rudokemper commented 7 months ago

Right now, mapPacker is set to write data to a database table that is assumed to already exist with a particular column schema.

Since mapPacker will be the first service to touch this database table for a new instance, we can reason that it's also the best tool to instantiate the table. So, let's have mapPacker create the offline_maps database table if it doesn't already exist.