diff --git a/server/test_objectives_migrations.sh b/server/test_objectives_migrations.sh index 90e17887..a206a701 100755 --- a/server/test_objectives_migrations.sh +++ b/server/test_objectives_migrations.sh @@ -6,3 +6,7 @@ python manage.py migrate_objectives_to_content pg_dump -Fc --no-acl -h localhost -U skillbox skillbox > latest-migrated-objectives.dump #python manage.py migrate_objective_snapshots #pg_dump -Fc --no-acl -h localhost -U skillbox skillbox > latest-migrated-objectives-and-snapshots.dump + + +# Use this command to restore the database from the dump: +#pg_restore --verbose --clean --no-acl --no-owner -h localhost -U skillbox -d skillbox latest-migrated-objectives.dump