[openstreetmap/openstreetmap-website] Communities - communities (PR #3717)

Brian DeRocher notifications at github.com
Fri May 31 01:37:56 UTC 2024


@openbrian commented on this pull request.



> +#
+#  id           :bigint(8)        not null, primary key
+#  community_id :integer          not null
+#  site         :string           not null
+#  url          :string           not null
+#  created_at   :datetime         not null
+#  updated_at   :datetime         not null
+#
+# Indexes
+#
+#  index_community_links_on_community_id  (community_id)
+#
+
+class CommunityLink < ApplicationRecord
+  belongs_to :community
+  validates :site, :presence => true, :length => 1..255, :characters => true

"text" - done

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

Message ID: <openstreetmap/openstreetmap-website/pull/3717/review/2089707830 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240530/8c97bade/attachment-0001.htm>


More information about the rails-dev mailing list