• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

allegro / ralph / 7127 / 3
85%
ng: 85%

Build:
DEFAULT BRANCH: ng
Ran 17 Sep 2016 09:08AM UTC
Files 207
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2016 08:57AM UTC coverage: 86.06% (-0.05%) from 86.113%
DJANGO_VERSION=1.8.12 TEST_DB_ENGINE=psql

push

travis-ci

vi4m
Fix MySQL 5.5 column renaming (#2800)

* Fix MySQL 5.5 column renaming

Rename field with dropping any FK pointing to it before actual renaming
and recreating them after renaming.

It's especially usefull for MySQL 5.5, where renaming field that is
referenced by another table is not supported (errno 150). The workaround
here is to drop FK first, then rename field, and then recreate FK. It's
supported fully since MySQL 5.6.6.

Resources:
* https://code.djangoproject.com/ticket/24995
* https://github.com/django/django/pull/4881
* http://dev.mysql.com/doc/refman/5.5/en/create-table-foreign-keys.html
* http://stackoverflow.com/questions/2014498/renaming-foreign-key-columns-in-mysql

This PR fixes #2799 and #2769

* wi[

* wip

* wip

* wip

11538 of 13407 relevant lines covered (86.06%)

0.86 hits per line

Source Files on job 7127.3 (DJANGO_VERSION=1.8.12 TEST_DB_ENGINE=psql)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7127
  • Travis Job 7127.3
  • c6d591f0 on github
  • Prev Job for DJANGO_VERSION=1.8.12 TEST_DB_ENGINE=mysql on ng (#7122.1)
  • Next Job for DJANGO_VERSION=1.8.12 TEST_DB_ENGINE=psql on ng (#7128.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc