Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Dashboard only Showing data from version collection in db.

default discord avatar
ronok9922 years ago
4

Dashboard only Showing data from version collection in db. If the version collection is empty then there is not data in the Dashboard, althought there is data in the original collection in DB. So if we manually insert data in original table it does not show in the Dashboard. What can be the solution to creating the version data after manually entry?

  • default discord avatar
    jessrynkar2 years ago

    Hi

    @707015513825345537

    - what version of payload are you on?

  • discord user avatar
    jmikrut
    2 years ago
    @707015513825345537

    see the script on our 1.6.1 release here:



    https://github.com/payloadcms/payload/releases/tag/v1.6.1

    this script manually goes through all your docs in your main collection and creates a version out of each of them



    this was a breaking change in 1.6.1 and should only be required for you to run once

  • default discord avatar
    ronok9922 years ago

    Thank you. It worked..

  • discord user avatar
    jmikrut
    2 years ago

    beautiful!

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.