Skip to content

Fingerprinting tracks ignored files #107

@PadenZach

Description

@PadenZach

Example / Duplicate Issue

# .pgschemaignore
[procedures]
patterns = ["foobar"]
-- run before pgschema apply
CREATE OR REPLACE PROCEDURE foobar(target_role text)
LANGUAGE plpgsql
AS $$
BEGIN
    RAISE NOTICE 'hello %', target_role;
END;
$$;


-- In main.sql plan
CREATE TABLE test (id serial primary key, name text);

pgschema apply --file main.sql

Expected Behavior

The above results in fingerprint mismatch, I'd expect ignored objects to not be included in the fingerprint hash calculation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions