Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

constraint issues #6

Merged
merged 1 commit into from Dec 3, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/postgres.js
Expand Up @@ -22,6 +22,7 @@ var Postgres = function(connection){
information_schema.table_constraints tc \
where \
cu.constraint_name = tc.constraint_name \
and tc.constraint_type = 'PRIMARY KEY' \
and tc.table_name = ist.table_name \
) as pk \
from information_schema.tables ist \
Expand Down