django在使用migrate迁移生成数据表时并没有在数据库中生成数据表

问题遇到的现象和发生背景

在使用migrate迁移生成数据表时并没有在数据库中生成数据表

用代码块功能插入代码,请勿粘贴截图

D:\kepro1>python manage.py makemigrations courses
Migrations for 'courses':
courses\migrations\0001_initial.py
- Create model Course
- Create model CourseClass
- Create model Lesson
- Create model Video
- Add field courseclass to course
- Add field courseorg to course
- Add field teacher to course

D:\kepro1>python manage.py migrate courses
Operations to perform:
Apply all migrations: courses
Running migrations:
No migrations to apply.

运行结果及报错内容

运行也没有报错
但是数据库里就是没有courses的表

img

我的解答思路和尝试过的方法

删除courses下的migrations重新迁移,没有用

我想要达到的结果

求解呀!

python manage.py makemigrations courses   这个命令只是生成迁移文件,不会创建表模型。

执行完上面的命令后,再执行下面这一条命令才会创建表

python manage.py migrate courses