aboutsummaryrefslogtreecommitdiff
path: root/dump
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-07-04 23:26:21 +0300
committerMunyoki Kilyungi2023-07-21 14:36:36 +0300
commitbe5d08e2b13466c7dc7c2c9c7a6d1ce844be1d95 (patch)
tree96f6695c73e9b255f6cc70813244be44fa4709a4 /dump
parentf986b2bf9e5b75ef0cdbffb693fd90caafef21a2 (diff)
downloadgn-transform-databases-be5d08e2b13466c7dc7c2c9c7a6d1ce844be1d95.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.scm2
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)))))