And this is the output of the migrate command:
Operations to perform:
Apply all migrations: admin, auth, contenttypes, django_cron, sessions
Running migrations:
No migrations to apply.
Traceback (most recent call last):
File "/home/michal/Desktop/files/coding/python/lunchautomate/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michal/Desktop/files/coding/python/lunchautomate/venv/lib/python3.11/site-packages/django/db/backends/mysql/base.py", line 75, in execute
return self.cursor.execute(query, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michal/Desktop/files/coding/python/lunchautomate/venv/lib/python3.11/site-packages/MySQLdb/cursors.py", line 206, in execute
res = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/home/michal/Desktop/files/coding/python/lunchautomate/venv/lib/python3.11/site-packages/MySQLdb/cursors.py", line 319, in _query
db.query(q)
File "/home/michal/Desktop/files/coding/python/lunchautomate/venv/lib/python3.11/site-packages/MySQLdb/connections.py", line 254, in query
_mysql.connection.query(self, query)
MySQLdb.IntegrityError: (1364, 'target: lunchautomate.-.primary: vttablet: rpc error: code = Unknown desc = Field \'name\' doesn\'t have a default value (errno 1364) (sqlstate HY000) (CallerID: ktqd6qz126ncpf0wale9): Sql: "insert into django_content_type(app_label, model) values (:vtg1, :vtg2)", BindVars: {REDACTED}')
The above exception was the direct cause of the following exception: