[openstreetmap/openstreetmap-website] Adds non-mutable note tags support (PR #5344)

Nenad Vujicic notifications at github.com
Tue Feb 18 15:46:29 UTC 2025


@nenad-vujicic commented on this pull request.



> @@ -0,0 +1,12 @@
+class CreateNoteTags < ActiveRecord::Migration[7.2]
+  def change
+    # Create a table, primary and foreign keys
+    create_table :note_tags, :primary_key => [:note_id, :k] do |t|
+      t.column "note_id", :bigint, :null => false
+      t.column "k",  :string, :default => "", :null => false
+      t.column "v",  :string, :default => "", :null => false

Thanks, I'll fix this in incoming PR(s)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5344#discussion_r1960018772
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5344/review/2624056448 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250218/5ada5ea7/attachment.htm>


More information about the rails-dev mailing list