diff options
| -rw-r--r-- | spec/support/pg_catalog.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/pg_catalog.rb b/spec/support/pg_catalog.rb index 30992168e..bb61adba5 100644 --- a/spec/support/pg_catalog.rb +++ b/spec/support/pg_catalog.rb @@ -1,5 +1,7 @@ module Support module PGCatalog + # TODO: Check what of the follwowing can be done with ActiveRecord. E.g. + # @connection.foreign_keys(table)... def get_columns(schema_name, table_name) execute("SELECT * from information_schema.columns WHERE table_name = '#{table_name}' AND table_schema = '#{schema_name}'") |
