Skip to content

Commit

Permalink
Allow users to access cylc play --upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Sep 4, 2023
1 parent ad4ccc6 commit 68804b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Upgraded to Jupyter Server 2.7+ and Jupyter Hub 4.0+. Note cylc-uiserver
1.3 remains supported and compatible with cylc-flow 8.2 for those not ready
to make the jump just yet.

[#490](https://github.com/cylc/cylc-uiserver/pull/490) - Make ``cylc play --upgrade``
available from the GUI.

-------------------------------------------------------------------------------
## __cylc-uiserver-1.3.0 (<span actions:bind='release-date'>Released 2023-07-21</span>)__

Expand Down
6 changes: 6 additions & 0 deletions cylc/uiserver/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ class Arguments:
on the `cylc play` command line if they need to be overridden.
''')
)
upgrade = graphene.Boolean(
default_value=False,
description=sstrip('''
Upgrade the workflow database.
''')
)

result = GenericScalar()

Expand Down

0 comments on commit 68804b9

Please sign in to comment.