[PR #16893] [CLOSED] DRAFT: 16625 don't alter SQL table if sequence already exists #14941

Closed
opened 2025-12-30 00:19:02 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16893
Author: @arthanson
Created: 7/12/2024
Status: Closed

Base: developHead: 16625-old-migration


📝 Commits (2)

  • a4f25a4 16625 don't alter SQL table if sequence already exists
  • 498bb87 16625 fix as no ALTER IF NOT EXISTS

📊 Changes

1 file changed (+14 additions, -3 deletions)

View changed files

📝 netbox/extras/migrations/0111_rename_content_types.py (+14 -3)

📄 Description

Fixes: #16625


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/16893 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 7/12/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `16625-old-migration` --- ### 📝 Commits (2) - [`a4f25a4`](https://github.com/netbox-community/netbox/commit/a4f25a44f81f3eb5618cd174fc539f80b1aaa798) 16625 don't alter SQL table if sequence already exists - [`498bb87`](https://github.com/netbox-community/netbox/commit/498bb870f3202f641feb6355e2fd1f698ac98533) 16625 fix as no ALTER IF NOT EXISTS ### 📊 Changes **1 file changed** (+14 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/migrations/0111_rename_content_types.py` (+14 -3) </details> ### 📄 Description ### Fixes: #16625 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:19:02 +01:00
adam closed this issue 2025-12-30 00:19:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14941