Trying to import the database to hatchbox and keep...
# support
x
Trying to import the database to hatchbox and keep getting errors like "ERROR: relation "public.active_storage_blobs" does not exist"
the database works locally, soo why wouldn't I be able to dump that and then import it?
j
Is the dump you're importing a data dump or does it include structure too? What state is the DB on hatchbox in?
x
it should be an empty db on hatchbox since I just made the webapp, this import script used to work against the production db back in March-ish the last time I ran it
pg_dump -a -U local_db_user local_db_name
thats whats being ran to get the db, then its being uploaded and imported with..
j
-a
is data only
x
psql -v ON_ERROR_STOP=1 -h 127.0.0.1 -q --user testuser -d test_staging --dbname=test_staging < /home/deploy/test_staging-1630609153.pgsql
ah, I'll try removing that
I normally just deal with mysql besides our solidus sites, sorry, thanks!
now it throws "unrecognized configuration parameter "default_table_access_method"" - googling it now though
ah hatchbox is now on psql 13 and I believe used to be on 12 like my dev environment is