Skip to content
Discussion options

You must be logged in to vote

For anyone reading this, consider having a look to this topic: #625

The case you describe does not seem to be handled, as the answer is “it depends”, or actually, Payload admin is in sync with collection .ts file and DB is not updated until admin overwrite it's content. So it goes like that.

  • if you create a field => field is present in admin but keys is not added in the DB until you add a value to the field.
  • If you rename a field => the old one is not deleted in DB but removed from admin, and you get a new field with the new name
  • if you change field type or localize => admin will update but you will still have the old values until overwritten.
  • if you delete a field => field is removed fr…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zubricks
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants