dongweiming / lyanna

My Blog Using Sanic
http://www.dongwm.com
GNU General Public License v3.0
637 stars 173 forks source link

manage.py initdb一直报错 #64

Closed luklon closed 2 years ago

luklon commented 2 years ago

raise OperationalError(exc) tortoise.exceptions.OperationalError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n user_id INT NOT NULL,\n `tar' at line 4")