Skip to content

Commit

Permalink
Use alembic to init harvest database
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Dec 8, 2023
1 parent 8bcd97a commit 01cc539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/ckan/tasks/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
with_items: "{{ ckan_admins }}"

- name: Initialize Harvest database
shell: ./bin/ckan --config {{ ckan_ini }} harvester initdb chdir={{ virtualenv }}
shell: ./bin/ckan --config {{ ckan_ini }} db upgrade -p harvest chdir={{ virtualenv }}

- name: Initialize Link Validation database
shell: ./bin/ckan --config {{ ckan_ini }} links initdb chdir={{ virtualenv }}
Expand Down

0 comments on commit 01cc539

Please sign in to comment.