[openstreetmap/openstreetmap-website] Add geoblock zones where anynomous notes are not allowed (PR #6713)
Pablo Brasero
notifications at github.com
Wed Jan 21 16:45:42 UTC 2026
@pablobm commented on this pull request.
> @@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class EnablePostgis < ActiveRecord::Migration[8.1]
+ def change
+ enable_extension "postgis"
Added now in individual workflows as appropriate.
> @@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class CreateGeoblockZones < ActiveRecord::Migration[8.1]
+ def change
+ create_table :geoblock_zones do |t|
+ t.string :name
+ t.geometry :zone, :geographic => true
+
Done now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6713#discussion_r2713411161
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6713/review/3688255935 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260121/0bebfc21/attachment.htm>
More information about the rails-dev
mailing list