Skip to content

Commit 5d65257

Browse files
committed
Don't create or delete database when setting up profile with docker postgres
1 parent ec423b2 commit 5d65257

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

planemo/database/postgres_docker.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ def __init__(self, **kwds):
6464
self._kwds = kwds
6565
self._docker_host_kwds = dockerfiles.docker_host_args(**kwds)
6666

67+
def create_database(self, identifier):
68+
# Not needed for profile creation, database will be created when Galaxy starts.
69+
pass
70+
71+
def delete_database(self, identifier):
72+
# Not needed for profile deletion, just remove the profile directory.
73+
pass
74+
6775
def start(self):
6876
if not is_running_container(**self._docker_host_kwds):
6977
start_postgres_docker(**self._docker_host_kwds)

0 commit comments

Comments
 (0)