From d24b33f0455b9b9d451616ef0df4c22618a438c2 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 27 Feb 2025 17:51:46 +0100 Subject: [PATCH] Added migration hints --- roles/docker-nextcloud/README.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/roles/docker-nextcloud/README.md b/roles/docker-nextcloud/README.md index ee898d8f..b9ac6244 100644 --- a/roles/docker-nextcloud/README.md +++ b/roles/docker-nextcloud/README.md @@ -125,11 +125,6 @@ docker compose exec -it -u www-data application php occ user:delete {{username}} docker compose exec -u www-data application php occ config:list {{app_name}} ``` -## App Relevant Tables 🗃️ - -- `oc_appconfig` -- `oc_migrations` - ### Initialize Duplicates ```bash docker-compose exec -it -u www-data application /var/www/html/occ duplicates:find-all --output @@ -144,6 +139,28 @@ docker-compose exec -it -u www-data application /var/www/html/occ maintenance:mo --- +## Apps + +### App Relevant Tables 🗃️ + +- `oc_appconfig` +- `oc_migrations` + +### Cospend + +#### Relevant SQL Commands for Cospend +Debugguging Migrations: + +https://github.com/julien-nc/cospend-nc/issues/325 +```sql +-- Show all Cospend Tables +SHOW TABLES where Tables_in_nextcloud LIKE "%cospend%"; +-- Show Cospend Configuration +SELECT * FROM `oc_appconfig` WHERE appid LIKE "%cospend%"; +-- Show Cospend Database Migrations +SELECT * FROM `oc_migrations` WHERE app LIKE "%cospend%"; +``` + # Identity and Access Management (IAM) ## OpenID Connect (OIDC) Support 🔐