Skip to content

Commit

Permalink
🩹 Also update schema during register
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jun 25, 2024
1 parent 3c18587 commit 1ed38f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lamindb_setup/_register_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ def register(_test: bool = False):
init_instance_hub(isettings)
isettings._is_on_hub = True
isettings._persist()
if isettings.dialect != "sqlite":
from ._schema_metadata import update_schema_in_hub

update_schema_in_hub()

0 comments on commit 1ed38f0

Please sign in to comment.