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

allegro / ralph / 7127
85%

Build:
DEFAULT BRANCH: ng
Ran 17 Sep 2016 09:08AM UTC
Jobs 1
Files 207
Run time 9s
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

pending completion
7127

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

35 of 35 new or added lines in 1 file covered. (100.0%)

11538 of 13407 relevant lines covered (86.06%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
src/ralph/assets/_migration_helpers.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/ralph/admin/helpers.py
3
100.0
src/ralph/assets/_migration_helpers.py
Jobs
ID Job ID Ran Files Coverage
3 7127.3 (DJANGO_VERSION=1.8.12 TEST_DB_ENGINE=psql) 17 Sep 2016 09:08AM UTC 0
86.06
Travis Job 7127.3
Source Files on build 7127
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7127
  • c6d591f0 on github
  • Prev Build on ng (#7122)
  • Next Build on ng (#7128)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc