paupino / psqlpack

A logical database management system for PostgreSQL enabling incremental database deployment.
Apache License 2.0
8 stars 2 forks source link

Added foreign key constraint validations #76

Closed paupino closed 6 years ago

paupino commented 6 years ago

Closes #1. It now checks:

  1. If the referenced table exists
  2. If all of the referenced columns on that table exist
  3. If all the source columns on the source table exist

In the future we may also want to compare source types against reference types. Further investigation to implement this properly is required since there are options for full/partial matches etc.