Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diffing the same file results in DROP TABLE #264

Open
jschaf opened this issue Jan 28, 2020 · 0 comments
Open

Diffing the same file results in DROP TABLE #264

jschaf opened this issue Jan 28, 2020 · 0 comments

Comments

@jschaf
Copy link

jschaf commented Jan 28, 2020

What happened

apgdiff said to drop the table in schemas that are identical.

-- /tmp/schema-old.sql
CREATE SCHEMA public;
CREATE TABLE public.node (instance_id text);
java -jar releases/apgdiff-2.6.0.jar /tmp/schema-old.sql /tmp/schema-old.sql

SET search_path = public, pg_catalog;

DROP TABLE node;

Expected behavior

I expected an empty diff since the schemas are the same.

Info

Built from source at 735c05c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant