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

ic-labs / django-icekit / 618
74%

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

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

Jobs
ID Job ID Ran Files Coverage
1 618.1 23 Feb 2017 12:08AM UTC 0
71.43
Travis Job 618.1
Source Files on build 618
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #618
  • fbaa2687 on github
  • Prev Build on develop (#615)
  • Next Build on develop (#619)
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