Commit 56b5608
committed
Remove indexes before removing a column.
The migration tests indicate that we should be able to remove columns that have indexes on them. SQLServer doesn't like that, so we'll attempt to remove an indexes on this column before we remove the column. Had to reorg the indexes method into a private a public one. The public one messes with the autocommit status of the connection for somereason and that was breaking the remove_column call. Maybe the public one doesn't need to do this though.1 parent 10142fb commit 56b5608
1 file changed
+25
-14
lines changedLines changed: 25 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 456 | + | |
469 | 457 | | |
470 | 458 | | |
471 | 459 | | |
| |||
507 | 495 | | |
508 | 496 | | |
509 | 497 | | |
| 498 | + | |
510 | 499 | | |
511 | 500 | | |
512 | 501 | | |
| |||
526 | 515 | | |
527 | 516 | | |
528 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
529 | 524 | | |
530 | 525 | | |
531 | 526 | | |
532 | 527 | | |
533 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
534 | 545 | | |
535 | 546 | | |
536 | 547 | | |
| |||
0 commit comments