Skip to content

Commit 7166e6e

Browse files
committed
Fix usage of CylcWorkflowDAO
1 parent 17222d8 commit 7166e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ext/database_diagram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def generate_dotcode():
136136
# get markdown
137137
with tempfile.NamedTemporaryFile() as tf_db:
138138
# is_public=False triggers the creation of tables
139-
CylcWorkflowDAO(db_file_name=tf_db.name, is_public=False)
139+
CylcWorkflowDAO(db_file_name=tf_db.name, create_tables=True)
140140
schema, orphans = schema_to_markdown(db_name=tf_db.name)
141141

142142
# graph prefix

0 commit comments

Comments
 (0)