{"action":"closed","issue":{"url":"https://api.github.com/repos/coleifer/peewee/issues/1673","repository_url":"https://api.github.com/repos/coleifer/peewee","labels_url":"https://api.github.com/repos/coleifer/peewee/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/coleifer/peewee/issues/1673/comments","events_url":"https://api.github.com/repos/coleifer/peewee/issues/1673/events","html_url":"https://github.com/coleifer/peewee/issues/1673","id":341355504,"node_id":"MDU6SXNzdWUzNDEzNTU1MDQ=","number":1673,"title":"AttributeError: 'NoneType' object has no attribute 'safe_create_index'","user":{"login":"gurland","id":30530987,"node_id":"MDQ6VXNlcjMwNTMwOTg3","avatar_url":"https://avatars3.githubusercontent.com/u/30530987?v=4","gravatar_id":"","url":"https://api.github.com/users/gurland","html_url":"https://github.com/gurland","followers_url":"https://api.github.com/users/gurland/followers","following_url":"https://api.github.com/users/gurland/following{/other_user}","gists_url":"https://api.github.com/users/gurland/gists{/gist_id}","starred_url":"https://api.github.com/users/gurland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurland/subscriptions","organizations_url":"https://api.github.com/users/gurland/orgs","repos_url":"https://api.github.com/users/gurland/repos","events_url":"https://api.github.com/users/gurland/events{/privacy}","received_events_url":"https://api.github.com/users/gurland/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-15T21:54:07Z","updated_at":"2018-07-15T21:55:15Z","closed_at":"2018-07-15T21:55:15Z","author_association":"NONE","body":"I'm using `SqliteExtDatabase`. When I'm trying to create tables next error raises:\r\n\r\n```Traceback (most recent call last):\r\n  File \"/home/gurland/Projects/mathbot/bot.py\", line 3, in <module>\r\n    from models import SubscriptionChat, Subscription, IUMCourse\r\n  File \"/home/gurland/Projects/mathbot/models.py\", line 119, in <module>\r\n    db.create_tables([User, Catalog, Book, IUMCourse, SubscriptionChat, Subscription], safe=True)\r\n  File \"/home/gurland/Projects/mathbot/venv/lib/python3.6/site-packages/peewee.py\", line 2774, in create_tables\r\n    model.create_table(**options)\r\n  File \"/home/gurland/Projects/mathbot/venv/lib/python3.6/site-packages/peewee.py\", line 5604, in create_table\r\n    if safe and not cls._meta.database.safe_create_index \\\r\nAttributeError: 'NoneType' object has no attribute 'safe_create_index'```\r\n\r\npeewee 3.5.2\r\npython 3.6"}}
{"actor":{"display_login":"coleifer"}}