diff options
author | Munyoki Kilyungi | 2023-07-04 23:26:21 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-07-30 12:29:56 +0300 |
commit | 2f94863679665ed41b371fdeb499e53c4e429eec (patch) | |
tree | 96f6695c73e9b255f6cc70813244be44fa4709a4 /dump | |
parent | 7cf57c30129b6c41205386f4e2c3afaf9c3a80e0 (diff) | |
download | gn-transform-databases-2f94863679665ed41b371fdeb499e53c4e429eec.tar.gz |
Use call-with-target-database when dumping schema annotations
* dump/schema-dump.scm (dump-schema-annotations): Replace
call-with-genenetwork-database with call-with-target-database.
Diffstat (limited to 'dump')
-rw-r--r-- | dump/schema-dump.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump/schema-dump.scm b/dump/schema-dump.scm index cda3fd0..876eafb 100644 --- a/dump/schema-dump.scm +++ b/dump/schema-dump.scm @@ -38,7 +38,7 @@ (TableComments)))) (define (dump-schema-annotations db) - (call-with-genenetwork-database + (call-with-target-database (lambda (db) (for-each (cut dump-table-fields db <>) (get-tables-from-comments db))))) |