{"action":"closed","issue":{"url":"https://api.github.com/repos/yjmade/django-pgjsonb/issues/10","repository_url":"https://api.github.com/repos/yjmade/django-pgjsonb","labels_url":"https://api.github.com/repos/yjmade/django-pgjsonb/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/yjmade/django-pgjsonb/issues/10/comments","events_url":"https://api.github.com/repos/yjmade/django-pgjsonb/issues/10/events","html_url":"https://github.com/yjmade/django-pgjsonb/issues/10","id":141916591,"number":10,"title":"0.0.20 does not appear to migrate successfully (Django 1.9.4)","user":{"login":"johndavidback","id":384255,"avatar_url":"https://avatars.githubusercontent.com/u/384255?v=3","gravatar_id":"","url":"https://api.github.com/users/johndavidback","html_url":"https://github.com/johndavidback","followers_url":"https://api.github.com/users/johndavidback/followers","following_url":"https://api.github.com/users/johndavidback/following{/other_user}","gists_url":"https://api.github.com/users/johndavidback/gists{/gist_id}","starred_url":"https://api.github.com/users/johndavidback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndavidback/subscriptions","organizations_url":"https://api.github.com/users/johndavidback/orgs","repos_url":"https://api.github.com/users/johndavidback/repos","events_url":"https://api.github.com/users/johndavidback/events{/privacy}","received_events_url":"https://api.github.com/users/johndavidback/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-18T16:32:01Z","updated_at":"2016-03-19T05:34:10Z","closed_at":"2016-03-19T05:34:10Z","body":"I installed 0.0.20 and it failed to migrate.  I downgraded to 0.0.16 and it worked okay.  Below is the stack trace.\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/core/management/__init__.py\", line 353, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/core/management/__init__.py\", line 345, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/core/management/base.py\", line 348, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/raven/contrib/django/management/__init__.py\", line 41, in new_execute\r\n    return original_func(self, *args, **kwargs)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/core/management/base.py\", line 399, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/core/management/commands/migrate.py\", line 200, in handle\r\n    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/db/migrations/executor.py\", line 92, in migrate\r\n    self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/db/migrations/executor.py\", line 121, in _migrate_all_forwards\r\n    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/db/migrations/executor.py\", line 198, in apply_migration\r\n    state = migration.apply(state, schema_editor)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/db/migrations/migration.py\", line 123, in apply\r\n    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django/db/migrations/operations/fields.py\", line 62, in database_forwards\r\n    field,\r\n  File \"/Users/john/Git/casamatic-showings/env/lib/python3.4/site-packages/django_pgjsonb/fields.py\", line 181, in add_field\r\n    if field.db_index_options:\r\nAttributeError: 'JSONField' object has no attribute 'db_index_options'"}}