Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (use ./manage.py migrate to migrate these)
- Migrating database
- DEBUG:south:south execute "SELECT COUNT(*) FROM main_pyrule WHERE name = %s" with params "['drop_event']"
- DEBUG:south:south execute "INSERT INTO main_pyrule(name, interface, handler, description) VALUES(%s, %s, %s, %s)" with params "['drop_event', 'IEventTrigger', 'noc.solutions.noc.default.pyrules.drop_event.drop_event', 'noc.solutions.noc.default.pyrules.drop_event.drop_event solution']"
- Running migrations for main:
- - Migrating forwards to 0054_migrate_pyrule.
- > main:0054_migrate_pyrule
- Traceback (most recent call last):
- File "manage.py", line 45, in <module>
- execute_from_command_line(sys.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/lib/python2.7/site-packages/south/management/commands/migrate.py", line 105, in handle
- ignore_ghosts = ignore_ghosts,
- File "/opt/noc/lib/python2.7/site-packages/south/migration/__init__.py", line 191, in migrate_app
- success = migrator.migrate_many(target, workplan, database)
- File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 221, in migrate_many
- result = migrator.__class__.migrate_many(migrator, target, migrations, database)
- File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 292, in migrate_many
- result = self.migrate(migration, database)
- File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 125, in migrate
- result = self.run(migration)
- File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 99, in run
- return self.run_migration(migration)
- File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 81, in run_migration
- migration_function()
- File "/opt/noc/main/migrations/0054_migrate_pyrule.py", line 44, in forwards
- name, iface, handler, "%s solution" % handler
- File "/opt/noc/lib/python2.7/site-packages/south/db/generic.py", line 150, in execute
- cursor.execute(sql, params)
- File "/opt/noc/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
- return self.cursor.execute(query, args)
- django.db.utils.IntegrityError: null value in column "changed" violates not-null constraint
- DETAIL: Failing row contains (2, drop_event, IEventTrigger, noc.solutions.noc.default.pyrules.drop_event.drop_event solution, null, null, noc.solutions.noc.default.pyrules.drop_event.drop_event).
- upgrade-user: 42: migrate failed
- Terminating
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement