Created
July 28, 2014 20:07
-
-
Save Bind/c723aed16ffdd7611ffd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python manage.py migrate | |
[profile] heap size is 27.9 MB | |
Running migrations for reversion: | |
- Nothing to migrate. | |
- Loading initial data for reversion. | |
Installed 0 object(s) from 0 fixture(s) | |
Running migrations for django_extensions: | |
- Nothing to migrate. | |
- Loading initial data for django_extensions. | |
Installed 0 object(s) from 0 fixture(s) | |
Running migrations for easy_thumbnails: | |
- Nothing to migrate. | |
- Loading initial data for easy_thumbnails. | |
Installed 0 object(s) from 0 fixture(s) | |
Running migrations for account: | |
- Migrating forwards to 0019_auto__add_unique_whitelistmember_email. | |
> account:0006_auto__add_field_user_isAccredited__add_field_user_phoneNumber__add_fie | |
FATAL ERROR - The following SQL query failed: ALTER TABLE "account_user_followedCompanies" ADD CONSTRAINT "company_id_refs_id_dde86f18" FOREIGN KEY ("company_id") REFERENCES "app_company" ("id") DEFERRABLE INITIALLY DEFERRED; | |
The error was: relation "app_company" does not exist | |
Error in migration: account:0006_auto__add_field_user_isAccredited__add_field_user_phoneNumber__add_fie | |
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute | |
output = self.handle(*args, **options) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle | |
ignore_ghosts = ignore_ghosts, | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/__init__.py", line 220, in migrate_app | |
success = migrator.migrate_many(target, workplan, database) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/migrators.py", line 254, in migrate_many | |
result = migrator.__class__.migrate_many(migrator, target, migrations, database) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/migrators.py", line 329, in migrate_many | |
result = self.migrate(migration, database) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/migrators.py", line 133, in migrate | |
result = self.run(migration, database) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/migrators.py", line 114, in run | |
return self.run_migration(migration, database) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/migration/migrators.py", line 85, in run_migration | |
south.db.db.execute_deferred_sql() | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/db/generic.py", line 318, in execute_deferred_sql | |
self.execute(sql) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/south/db/generic.py", line 282, in execute | |
cursor.execute(sql, params) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute | |
return super(CursorDebugWrapper, self).execute(sql, params) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__ | |
six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "/Users/dougbinder/sites/env/fintech/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
django.db.utils.ProgrammingError: relation "app_company" does not exist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment