Skip to content

Commit e06e751

Browse files
committed
chore: make postgres:setup depend on postgres:teardown
1 parent 8038627 commit e06e751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ fi
410410

411411
[tasks."postgres:setup"]
412412
alias = 's'
413+
depends = ["postgres:eql:teardown"]
413414
description = "Installs EQL and applies schema to database"
414415
run = """
415416
#!/bin/bash
@@ -421,7 +422,6 @@ cat sql/schema.sql | docker exec -i postgres${CONTAINER_SUFFIX} psql postgresql:
421422
"""
422423

423424
[tasks."postgres:eql:teardown"]
424-
alias = 'teardown'
425425
description = "Uninstalls EQL and removes schema from database"
426426
run = """
427427
#!/bin/bash

0 commit comments

Comments
 (0)