Convert some database columns to BIGINT on install
This commit is contained in:
parent
0244ca03a5
commit
c9b21fa712
@ -104,10 +104,18 @@
|
|||||||
- name: Add Missing Database Indexes
|
- name: Add Missing Database Indexes
|
||||||
command: php occ db:add-missing-indices
|
command: php occ db:add-missing-indices
|
||||||
become_user: www-data
|
become_user: www-data
|
||||||
|
register: nextcloud_db_update
|
||||||
args:
|
args:
|
||||||
chdir: "{{ nc_dir }}/public_html"
|
chdir: "{{ nc_dir }}/public_html"
|
||||||
when: nextcloud_install.changed
|
when: nextcloud_install.changed
|
||||||
|
|
||||||
|
- name: Convert Database Columns to BIGINT
|
||||||
|
command: php occ db:convert-filecache-bigint
|
||||||
|
become_user: www-data
|
||||||
|
args:
|
||||||
|
chdir: "{{ nc_dir }}/public_html"
|
||||||
|
when: nextcloud_db_update.changed
|
||||||
|
|
||||||
- name: Add Domain Name to Trusted Domains
|
- name: Add Domain Name to Trusted Domains
|
||||||
command: |
|
command: |
|
||||||
php occ config:system:set trusted_domains 0 --value={{ nc_domain }}
|
php occ config:system:set trusted_domains 0 --value={{ nc_domain }}
|
||||||
|
Loading…
Reference in New Issue
Block a user