Skip to content

PGSQL Error #50

@robbiekibler

Description

@robbiekibler

Getting this error when trying to run the php artisan laritor:sync command

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "address" does not exist
LINE 15: AND pc.conrelid = 'address'::regclass
^ (Connection: pgsql, SQL:
SELECT
conname AS constraint_name,
a.attname AS column_name,
confrelid::regclass AS referenced_table_name,
af.attname AS referenced_column_name
FROM pg_constraint pc
JOIN pg_attribute a
ON a.attrelid = pc.conrelid
AND a.attnum = pc.conkey[1]
JOIN pg_attribute af
ON af.attrelid = pc.confrelid
AND af.attnum = pc.confkey[1]
WHERE pc.contype = 'f'
AND pc.conrelid = address::regclass
)

In Connection.php line 411:

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "address" does not exist
LINE 15: AND pc.conrelid = 'address'::regclass
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions