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
I made init migration file and i tried to run migrate on it but there was error: peewee.OperationalError: unable to open database file.
I used this command: pw_migrate migrate --name=001_mymigration.py --database=sqlite:C:\Users\zurek\Documents\BackBone\Alto\afs\data\database.db --directory=C:\Users\zurek\Documents\BackBone\Alto\afs\data\migrations
where --name is name of migration file, database is directory to database.db sqlite file and directory where migrations are. I use windows 10. Do you know where the problem might be? Some proposals? Thank you very much.
The text was updated successfully, but these errors were encountered:
As seen on this page, you're supposed to pass the URL like sqlite:///path/to/database.sqlite, so I guess it's something like sqlite:\\\C:\Users\zurek\Documents\BackBone\Alto\afs\data\database.db in your case.
I made init migration file and i tried to run migrate on it but there was error: peewee.OperationalError: unable to open database file.
I used this command:
pw_migrate migrate --name=001_mymigration.py --database=sqlite:C:\Users\zurek\Documents\BackBone\Alto\afs\data\database.db --directory=C:\Users\zurek\Documents\BackBone\Alto\afs\data\migrations
where --name is name of migration file, database is directory to database.db sqlite file and directory where migrations are. I use windows 10. Do you know where the problem might be? Some proposals? Thank you very much.
The text was updated successfully, but these errors were encountered: