Skip to content

Add 'soft' setting to importOnBootstrap to prevent overwriting of existing changes in DB #74

Closed
@BabyDino

Description

@BabyDino

Originally posted by @BabyDino in #68 (comment)

When we roll out an API we would love to use the importOnBootstrap setting, but we want to prevent existing changed data of being reimported.

One example:

  • We have a table with e-mail templates. In our dev, we export staging/production ready email templates.
  • We'd like to use importOnBootstrap on staging/production, which would be ideal for a first run.
  • Now we change an imported template in staging or production
  • On the next run, importOnBootstrap overrides the customized template with the dev template.

So basically, if the state is Different for a template, we would like to have that entry skipped by importOnBootstrap. We only like to import the state Only in sync dir with importOnBootstrap.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions