You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/root/python38/bin/python3 /root/cutter2/cutter/manage.py migrate
Migrations are not supported in this engine. Calling syncdb instead..
Traceback (most recent call last):
File "/root/cutter2/cutter/manage.py", line 22, in <module>
main()
File "/root/cutter2/cutter/manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/root/python38/lib64/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/root/python38/lib64/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/python38/lib64/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/root/python38/lib64/python3.8/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/root/python38/lib64/python3.8/site-packages/django_cassandra_engine/management/commands/migrate.py", line 17, in handle
call_command('sync_cassandra', **options)
File "/root/python38/lib64/python3.8/site-packages/django/core/management/__init__.py", line 168, in call_command
raise TypeError(
TypeError: Unknown option(s) for sync_cassandra command: app_label, check_unapplied, fake, fake_initial, interactive, migration_name, plan, run_syncdb. Valid options are: database, force_color, help, no_color, pythonpath, settings, skip_checks, stderr, stdout, traceback, verbosity, version.
Could you help me to run migrations
The text was updated successfully, but these errors were encountered:
Hello! You don't need to run migrations. python manage.py sync_cassandra does the trick for you, so every time you add a column to your model you have to call sync_cassandra and that's it.
Hi I am new in django
I tried to connect django to cassandra.
here are my modules:
here are my settings.py
when I try to run migrations I have an error:
Could you help me to run migrations
The text was updated successfully, but these errors were encountered: