Use new in-built database migrations in API

This commit is contained in:
2023-09-01 15:42:23 -04:00
parent 0e5cb688dc
commit b4079cae88
4 changed files with 5 additions and 16 deletions

View File

@ -89,8 +89,5 @@
- name: import DNS database schema
command: "psql -U {{ pvc_dns_database_user }} -f /etc/postgresql/powerdns-schema.sql {{ pvc_dns_database_name }}"
- name: import Provisioner database schema
command: "psql -U {{ pvc_prov_database_user }} -f /etc/postgresql/provisioner-schema.sql {{ pvc_prov_database_name }}"
become: yes
become_user: postgres