[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)
notifications at github.com
Thu Feb 4 11:04:09 UTC 2021
@mmd-osm commented on this pull request.
> @@ -0,0 +1,7 @@
+# Add db init script to install OSM-specific Postgres functions/extensions.
+ADD docker/postgres/openstreetmap-postgres-init.sh /docker-entrypoint-initdb.d/
+# Custom database functions are in a SQL file.
+ADD db/functions/functions.sql /usr/local/sbin/osm-db-functions.sql
Somehow I assumed a new database would be set up using db/structure.sql, and then the contents of the migrations table would define, which additional migrations would be needed, by comparing that table's contents against what's inside db/migrate. Maybe the mechanism works in a completely different way, but then I don't really know what's the purpose of that db/structure.sql is in the first place (sorry, I know this all sounds much like noob questions).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev