Traceback (most recent call last):


 "run.py", line 179, in <module>

db.migrations.run()


 "/Users/csytan/Documents/dev/cozycal/db/migrations/__init__.py", line 18, in run

importlib.import_module('db.migrations.{}'.format(version))


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/Users/csytan/Documents/dev/cozycal/db/migrations/51.py", line 11, in <module>

db.ServiceCategory, rel_field='servicecategory', null=True, on_delete='SET NULL'))


 "/Users/csytan/Library/Python/3.6/lib/python/site-packages/peewee.py", line 4127, in __init__

super(ForeignKeyField, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'rel_field'

Traceback (most recent call last):


 "C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time

elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
