-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I'm just trying out this library with a blank django project. I've a project on heroku and I want to replicate the heroku database locally in sqlite, but it seems that db-to-sqlite is skipping some tables.
Command run -
db-to-sqlite postgres://uid:pwd@host/dbname db.sqlite3 --all -p
Output -
1/10: django_migrations
2/10: django_content_type
3/10: auth_permission
4/10: auth_group
5/10: auth_group_permissions
6/10: auth_user_groups
7/10: auth_user_user_permissions
8/10: django_admin_log
9/10: auth_user
10/10: django_session
Adding 1 foreign key
auth_permission.content_type_id => django_content_type.id
When tried to run django locally, faced an error that django could not find django_admin_log
, so I tried to see if tables have been copied correctly or not-
$ sqlite3 db.sqlite3
SQLite version 3.22.0 2018-01-22 18:45:57
Enter ".help" for usage hints.
sqlite> .tables
auth_permission django_content_type django_session
auth_user django_migrations
sqlite>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request