Heroku needs a `manage.py migrate` after bug 1158233 ("Unknown column 'performance_signature.lower_is_better' in 'field list'")

RESOLVED FIXED

Status

Tree Management
Treeherder: Infrastructure
P1
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

(Assignee)

Description

3 years ago
Whilst bug 1201455 is still blocked on Heroku's reply, we need to manually run migrate as soon as anything that creates a migrations file lands on master.

This wasn't run after bug 1158233 landed, causing:

https://rpm.newrelic.com/accounts/677903/applications/7385291/traced_errors/70b0cd-24eb37a0-86c7-11e5-900f-b82a72d22a14

 django.db.utils:OperationalError: (1054, "Unknown column 'performance_signature.lower_is_better' in 'field list'")
(Assignee)

Comment 1

3 years ago
[~/src/treeherder]$ heroku run ./manage.py migrate
Running ./manage.py migrate on treeherder-heroku... up, run.7679
Operations to perform:
  Synchronize unmigrated apps: rest_framework_swagger, staticfiles, django_browserid, webapp, rest_framework_extensions, embed, etl, rest_framework, corsheaders, log_parser, messages, hawkrest, workers, autoclassify
  Apply all migrations: auth, sites, sessions, admin, model, perf, credentials, contenttypes
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying perf.0003_performancesignature_lower_is_better... OK
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.