Fix migrations on Python 2.
This commit sponsored by Loïc Grobol. Thank you!
This commit is contained in:
parent
1a2982d6e3
commit
36e27c4b76
@ -19,6 +19,9 @@ import uuid
|
||||
|
||||
import six
|
||||
|
||||
if six.PY2:
|
||||
import migrate
|
||||
|
||||
from sqlalchemy import (MetaData, Table, Column, Boolean, SmallInteger,
|
||||
Integer, Unicode, UnicodeText, DateTime,
|
||||
ForeignKey, Date, Index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user