Open dthakur opened 1 year ago
# shell
sed -i -e '/owner to postgres/d' db/migrations/0012_add_updated_at.sql && npm start
# docker run
/bin/sh -c "sed -i -e '/owner to postgres/d' db/migrations/0012_add_updated_at.sql && npm start"
overwrote the docker run command to remove that line.
https://github.com/supabase/stripe-sync-engine/blob/2c0d81aaf877af018d1d4f103459e24cffebeca2/db/migrations/0012_add_updated_at.sql#L11
If the database does not have a
postgres
role, the migration fails.