refresh-cms not working, probably due to missing migrations
Traceback (most recent call last): File ".../inkscape-web/utils/../inkscape/manage.py", line 33, in <module> execute_from_command_line(sys.argv) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, **options) File ".../inkscape-web/resources/management/commands/loaddata.py", line 95, in handle ret = super(Command, self).handle(*fixture_labels, **options) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/commands/loaddata.py", line 69, in handle self.loaddata(fixture_labels) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/core/management/commands/loaddata.py", line 115, in loaddata connection.check_constraints(table_names=table_names) File ".../inkscape-web/pythonenv/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 295, in check_constraints bad_row, referenced_table_name, referenced_column_name, django.db.utils.IntegrityError: Problem installing fixtures: The row in table 'cmstabs_teamplugin' with primary key '296718' has an invalid foreign key: cmstabs_teamplugin.role_id contains a value '0-infra' that does not have a corresponding value in person_membershiprole.code. maren@mokey:.../Branches/inkscape-web$ ./utils/manage migrate WARNING:root:No fastly module installed (skipping) Operations to perform: Apply all migrations: admin, alerts, auth, cms, cmsplugin_diff, cmsplugin_image, cmsplugin_news, cmsplugin_toc, cmstabs, cog, contenttypes, django_comments, django_registration, djangocms_file, djangocms_text_ckeditor, easy_thumbnails, el_menu, elections, filer, forums, inkscape, menus, moderation, person, redirects, releases, resources, sessions, sites, social_django, stopforumspam Running migrations: No migrations to apply. Your models have changes that are not yet reflected in a migration, and so won't be applied. Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.