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

ic-labs / django-icekit / 618 / 1
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 23 Feb 2017 12:08AM UTC
Files 244
Run time 10s
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

23 Feb 2017 12:03AM UTC coverage: 71.426% (-0.08%) from 71.507%
618.1

push

travis-ci

jmurty
Add migration operation to help rename portable applications

Add the `RenameAppInMigrationsTable` operation which helps to handle
the difficult situation where a portable application has been renamed
but migrations with the old name have already been applied in a project.

Previously we handled this situation by requiring that deployers
remember to manually run a SQL command in the target DB *before* running
the updated DB migrations. That SQL would look something like:

    UPDATE django_migrations SET app='newname' WHERE app='oldname';

The new `RenameAppInMigrationsTable` operation automates running of this
UPDATE command, if it is necessary.

It does not solve the problem where the migrate command must be re-run
to detect the changed history in the `django_migrations` table, but it
makes it clearer what is going on with a descriptive error message that
tells the user what has been fixed and to re-run the migrate.

NOTE: This new operation has only been tested with and applied to the
'workflow' => 'icekit_workflow' app rename so far, but we should use
it in all cases in the future.

3632 of 5085 relevant lines covered (71.43%)

0.71 hits per line

Source Files on job 618.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 618
  • Travis Job 618.1
  • fbaa2687 on github
  • Prev Job for on develop (#615.1)
  • Next Job for on develop (#619.1)
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

© 2025 Coveralls, Inc