Skip to content

Commit 668536a

Browse files
committedMay 20, 2023
refactor: adds insert for alembic task
1 parent 8df93e5 commit 668536a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎Taskfile.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ tasks:
7474
docker compose exec db sh -c "psql \
7575
-U {{.POSTGRES_USER}} \
7676
-d {{.POSTGRES_DB}} -c \
77-
'CREATE TABLE IF NOT EXISTS alembic_version ( version_num VARHCAR );'"
77+
'CREATE TABLE IF NOT EXISTS alembic_version ( version_num VARHCAR );\
78+
INSERT INTO alembic_version (version_num) VALUES ( );'"
7879
eject:
7980
desc: eject the project from a template
8081
summary: |

0 commit comments

Comments
 (0)
Please sign in to comment.