Closed Bug 1212892 Opened 10 years ago Closed 10 years ago

Changes to classifiedfailure and failurematch models not reflected in migrations file

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: wlach)

References

Details

From a stage deploy: /treeherder.allizom.org/treeherder-env.sh && python2.7 manage.py migrate --noinput (1.519s) [localhost] out: Operations to perform: [localhost] out: Synchronize unmigrated apps: log_parser, django_browserid, corsheaders, autoclassify, staticfiles, workers, messages, hawkrest, rest_framework_swagger, webapp, rest_framework, embed, rest_framework_extensions, etl [localhost] out: Apply all migrations: perf, sessions, admin, sites, auth, contenttypes, credentials, model [localhost] out: Synchronizing apps without migrations: [localhost] out: Creating tables... [localhost] out: Running deferred SQL... [localhost] out: Installing custom SQL... [localhost] out: Running migrations: [localhost] out: No migrations to apply. [localhost] out: Your models have changes that are not yet reflected in a migration, and so won't be applied. [localhost] out: Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them. Locally: vagrant ~/treeherder $ ./manage.py makemigrations Migrations for 'model': 0002_auto_20151008_0812.py: - Alter field failure_lines on classifiedfailure - Alter field failure_line on failurematch I'm not sure whether it's best to update the initial migration file, or create a new one.
Mauro/James, could one of you take a look at this?
Flags: needinfo?(mdoglio)
Flags: needinfo?(james)
I'll have a look this week.
Flags: needinfo?(mdoglio)
Flags: needinfo?(james)
Assignee: nobody → wlachance
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.