Skip to content

Commit 668536a

Browse files
committed
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

Lines changed: 2 additions & 1 deletion
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)