[PR #4552] [MERGED] Fixes #4545: Remove squashed migrations #12872

Closed
opened 2025-12-29 22:24:06 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4552
Author: @jeremystretch
Created: 4/29/2020
Status: Merged
Merged: 4/29/2020
Merged by: @jeremystretch

Base: developHead: 4545-remove-squashed-migrations


📝 Commits (2)

  • 6e832de Remove squashed migrations
  • f535ef4 Update development docs to remove squashing instructions

📊 Changes

31 files changed (+6 additions, -3507 deletions)

View changed files

📝 docs/development/release-checklist.md (+0 -4)
docs/development/squashing-migrations.md (+0 -168)
📝 mkdocs.yml (+0 -1)
netbox/circuits/migrations/0001_initial_squashed_0006_terminations.py (+0 -134)
netbox/circuits/migrations/0007_circuit_add_description_squashed_0017_circuittype_description.py (+0 -254)
📝 netbox/circuits/migrations/0018_standardize_description.py (+1 -1)
netbox/dcim/migrations/0003_auto_20160628_1721_squashed_0010_devicebay_installed_device_set_null.py (+0 -101)
netbox/dcim/migrations/0011_devicetype_part_number_squashed_0022_color_names_to_rgb.py (+0 -154)
netbox/dcim/migrations/0023_devicetype_comments_squashed_0043_device_component_name_lengths.py (+0 -478)
netbox/dcim/migrations/0044_virtualization_squashed_0061_platform_napalm_args.py (+0 -354)
netbox/dcim/migrations/0062_interface_mtu_squashed_0065_front_rear_ports.py (+0 -124)
netbox/dcim/migrations/0067_device_type_remove_qualifiers_squashed_0070_custom_tag_models.py (+0 -146)
📝 netbox/dcim/migrations/0092_fix_rack_outer_unit.py (+1 -2)
netbox/extras/migrations/0001_initial_squashed_0013_objectchange.py (+0 -265)
netbox/extras/migrations/0014_configcontexts_squashed_0019_tag_taggeditem.py (+0 -106)
netbox/extras/migrations/0020_tag_data_squashed_0021_add_color_comments_changelog_to_tag.py (+0 -93)
netbox/extras/migrations/0022_custom_links_squashed_0034_configcontext_tags.py (+0 -227)
netbox/ipam/migrations/0003_ipam_add_vlangroups_squashed_0011_rir_add_is_private.py (+0 -100)
netbox/ipam/migrations/0012_services_squashed_0018_remove_service_uniqueness_constraint.py (+0 -171)
netbox/ipam/migrations/0019_virtualization_squashed_0020_ipaddress_add_role_carp.py (+0 -34)

...and 11 more files

📄 Description

Fixes: #4545

  • Removes all squashed schema migration files.
  • Correctly renumbers circuits/0018_standardize_description and users/0004_standardize_description. This will cause some upgrades to apply the migrations a second time, but doing so is essentially a no-op since the only effect is modifying field lengths.

🔄 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/4552 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/29/2020 **Status:** ✅ Merged **Merged:** 4/29/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `4545-remove-squashed-migrations` --- ### 📝 Commits (2) - [`6e832de`](https://github.com/netbox-community/netbox/commit/6e832de4a99c9a45d4155023162f1b25b84bf62f) Remove squashed migrations - [`f535ef4`](https://github.com/netbox-community/netbox/commit/f535ef4924091a3908fa8998ed152d03185731c6) Update development docs to remove squashing instructions ### 📊 Changes **31 files changed** (+6 additions, -3507 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/release-checklist.md` (+0 -4) ➖ `docs/development/squashing-migrations.md` (+0 -168) 📝 `mkdocs.yml` (+0 -1) ➖ `netbox/circuits/migrations/0001_initial_squashed_0006_terminations.py` (+0 -134) ➖ `netbox/circuits/migrations/0007_circuit_add_description_squashed_0017_circuittype_description.py` (+0 -254) 📝 `netbox/circuits/migrations/0018_standardize_description.py` (+1 -1) ➖ `netbox/dcim/migrations/0003_auto_20160628_1721_squashed_0010_devicebay_installed_device_set_null.py` (+0 -101) ➖ `netbox/dcim/migrations/0011_devicetype_part_number_squashed_0022_color_names_to_rgb.py` (+0 -154) ➖ `netbox/dcim/migrations/0023_devicetype_comments_squashed_0043_device_component_name_lengths.py` (+0 -478) ➖ `netbox/dcim/migrations/0044_virtualization_squashed_0061_platform_napalm_args.py` (+0 -354) ➖ `netbox/dcim/migrations/0062_interface_mtu_squashed_0065_front_rear_ports.py` (+0 -124) ➖ `netbox/dcim/migrations/0067_device_type_remove_qualifiers_squashed_0070_custom_tag_models.py` (+0 -146) 📝 `netbox/dcim/migrations/0092_fix_rack_outer_unit.py` (+1 -2) ➖ `netbox/extras/migrations/0001_initial_squashed_0013_objectchange.py` (+0 -265) ➖ `netbox/extras/migrations/0014_configcontexts_squashed_0019_tag_taggeditem.py` (+0 -106) ➖ `netbox/extras/migrations/0020_tag_data_squashed_0021_add_color_comments_changelog_to_tag.py` (+0 -93) ➖ `netbox/extras/migrations/0022_custom_links_squashed_0034_configcontext_tags.py` (+0 -227) ➖ `netbox/ipam/migrations/0003_ipam_add_vlangroups_squashed_0011_rir_add_is_private.py` (+0 -100) ➖ `netbox/ipam/migrations/0012_services_squashed_0018_remove_service_uniqueness_constraint.py` (+0 -171) ➖ `netbox/ipam/migrations/0019_virtualization_squashed_0020_ipaddress_add_role_carp.py` (+0 -34) _...and 11 more files_ </details> ### 📄 Description ### Fixes: #4545 - Removes all squashed schema migration files. - Correctly renumbers `circuits/0018_standardize_description` and `users/0004_standardize_description`. This will cause some upgrades to apply the migrations a second time, but doing so is essentially a no-op since the only effect is modifying field lengths. --- <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-29 22:24:06 +01:00
adam closed this issue 2025-12-29 22:24:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12872