Add common_third_parties shared reference table
Introduce a globally-shared, non-tenant-scoped common_third_parties table that mirrors the public subset of vendor metadata, plus a one-shot cmd/common-third-parties-import CLI that seeds it from packages/vendors/data.json. The catalog will back future flows (e.g. vendor autocomplete) so each tenant no longer needs to duplicate the same baseline data. The importer is idempotent via ON CONFLICT (lower(name)) DO UPDATE and prints inserted/updated counts. GIDs use gid.NilTenant since the table is not tenant-scoped; uniqueness still comes from the entity type plus 14 bytes of timestamp/random suffix. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
4
packages/vendors/data.json
vendored
4
packages/vendors/data.json
vendored
@@ -2269,7 +2269,7 @@
|
||||
"headquarterAddress": "5314 56 St, Camrose, Alberta T4V 2E5, Canada",
|
||||
"websiteUrl": "https://www.danami.com",
|
||||
"description": "Developer of security, firewall and anti-spam extensions for the Plesk hosting control panel.",
|
||||
"category": "DEVELOPER_TOOLS",
|
||||
"category": "ENGINEERING",
|
||||
"privacyPolicyUrl": "https://www.danami.com/legal/privacy-policy",
|
||||
"termsOfServiceUrl": "https://www.danami.com/legal/terms-of-service"
|
||||
},
|
||||
@@ -2432,4 +2432,4 @@
|
||||
"securityPageUrl": "https://www.scaleway.com/en/security-and-resilience/",
|
||||
"statusPageUrl": "https://status.scaleway.com/"
|
||||
}
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user