New way of running Koschei DB migrations
This commit is contained in:
parent
1b0b4a69d8
commit
aa3a8f63c7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
||||||
- name: run db migration
|
- name: run db migration
|
||||||
become: yes
|
become: yes
|
||||||
become_user: koschei
|
become_user: koschei
|
||||||
command: alembic -c /usr/share/koschei/alembic.ini upgrade head
|
command: koschei-admin alembic upgrade head
|
||||||
|
|
||||||
- name: restart koschei frontend
|
- name: restart koschei frontend
|
||||||
hosts: "{{ koschei_web_hosts | default('koschei-web:koschei-web-stg') }}"
|
hosts: "{{ koschei_web_hosts | default('koschei-web:koschei-web-stg') }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue