我创建的数据库名为seat,
错误提示:
Type 'yes' if you would like to try deleting the test database 'test_seat', or 'no' to cancel: Got an error creating the test database: (1007, "Can't create database 'test_seat'; database exists")
由于直接改过数据库表名没做处理,生成的测试数据库有表名与原数据库不匹配
解决:重新在终端创建迁移文件 再运行
python manage.py makemigrations