fix: resolve broken migration dependencies and references after company app removal

- Updated migration files to remove references to the old `companies` app and replace them with new app dependencies (`operators` and `manufacturers`).
- Fixed foreign key references in migration files to point to the correct models in the new apps.
- Updated import statements in management commands and test files to reflect the new app structure.
- Completed a thorough validation of the migration system to ensure full functionality and operational status.
This commit is contained in:
pacnpal
2025-07-05 09:55:36 -04:00
parent 751cd86a31
commit b871a1d396
10 changed files with 273 additions and 653 deletions

View File

@@ -2426,14 +2426,6 @@ select {
z-index: 60;
}
.col-span-1 {
grid-column: span 1 / span 1;
}
.col-span-12 {
grid-column: span 12 / span 12;
}
.col-span-2 {
grid-column: span 2 / span 2;
}
@@ -2522,10 +2514,6 @@ select {
margin-bottom: 2rem;
}
.ml-0\.5 {
margin-left: 0.125rem;
}
.ml-1 {
margin-left: 0.25rem;
}
@@ -2570,8 +2558,8 @@ select {
margin-right: 0.75rem;
}
.mt-0\.5 {
margin-top: 0.125rem;
.mr-4 {
margin-right: 1rem;
}
.mt-1 {
@@ -2598,6 +2586,10 @@ select {
margin-top: 1.5rem;
}
.mt-8 {
margin-top: 2rem;
}
.mt-auto {
margin-top: auto;
}
@@ -2674,10 +2666,6 @@ select {
height: 300px;
}
.h-auto {
height: auto;
}
.h-full {
height: 100%;
}
@@ -2863,18 +2851,10 @@ select {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-12 {
grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
@@ -2911,10 +2891,6 @@ select {
justify-content: space-between;
}
.gap-1 {
gap: 0.25rem;
}
.gap-2 {
gap: 0.5rem;
}
@@ -3023,21 +2999,11 @@ select {
border-bottom-left-radius: 0.5rem;
}
.rounded-l-md {
border-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
}
.rounded-r-lg {
border-top-right-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
}
.rounded-r-md {
border-top-right-radius: 0.375rem;
border-bottom-right-radius: 0.375rem;
}
.rounded-t-lg {
border-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
@@ -3329,10 +3295,6 @@ select {
object-fit: cover;
}
.p-0\.5 {
padding: 0.125rem;
}
.p-1\.5 {
padding: 0.375rem;
}
@@ -3507,10 +3469,6 @@ select {
text-transform: lowercase;
}
.leading-tight {
line-height: 1.25;
}
.text-blue-400 {
--tw-text-opacity: 1;
color: rgb(96 165 250 / var(--tw-text-opacity));
@@ -3891,11 +3849,6 @@ select {
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}
.hover\:bg-gray-300:hover {
--tw-bg-opacity: 1;
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
}
.hover\:bg-gray-50:hover {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
@@ -4260,11 +4213,6 @@ select {
color: rgb(74 222 128 / var(--tw-text-opacity));
}
.dark\:text-green-50:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(240 253 244 / var(--tw-text-opacity));
}
.dark\:text-green-800:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(22 101 52 / var(--tw-text-opacity));
@@ -4358,11 +4306,6 @@ select {
background-color: rgb(30 58 138 / 0.4);
}
.dark\:hover\:bg-gray-500:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
}
.dark\:hover\:bg-gray-600:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgb(75 85 99 / var(--tw-bg-opacity));
@@ -4433,50 +4376,10 @@ select {
}
@media (min-width: 640px) {
.sm\:col-span-3 {
grid-column: span 3 / span 3;
}
.sm\:col-span-4 {
grid-column: span 4 / span 4;
}
.sm\:col-span-8 {
grid-column: span 8 / span 8;
}
.sm\:col-span-9 {
grid-column: span 9 / span 9;
}
.sm\:mb-16 {
margin-bottom: 4rem;
}
.sm\:grid-cols-12 {
grid-template-columns: repeat(12, minmax(0, 1fr));
}
.sm\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sm\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sm\:flex-row {
flex-direction: row;
}
.sm\:items-end {
align-items: flex-end;
}
.sm\:items-center {
align-items: center;
}
.sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(1rem * var(--tw-space-x-reverse));
@@ -4493,26 +4396,6 @@ select {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.sm\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.sm\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.sm\:text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.sm\:text-xs {
font-size: 0.75rem;
line-height: 1rem;
}
}
@media (min-width: 768px) {
@@ -4528,10 +4411,6 @@ select {
grid-column: span 3 / span 3;
}
.md\:mb-8 {
margin-bottom: 2rem;
}
.md\:block {
display: block;
}
@@ -4544,10 +4423,6 @@ select {
display: none;
}
.md\:h-\[140px\] {
height: 140px;
}
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}