# Bug NEX-723 - In NC35, running "occ db:schema:check" command resets some settings in the integration app

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-723

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  Nextcloud Integration 3.3.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Start NC35
    
2.  Enable and setup integration app
    
3.  Check settings from cli: `occ config:app:get integration_openproject openproject_instance_url` returns the URL.
    
4.  Run db check command: `occ db:schema:check` (or `occ upgrade`).
    
5.  Check settings again:
    
    *   `occ config:app:get integration_openproject openproject_instance_url` (Expected set url)
        
    *   `occ config:app:get integration_openproject fresh_project_folder_setup` (Expected `0`)
        

### What is the buggy behavior?

Some integration app settings are reset

### What is the expected behavior?

Already set settings should be preserved
