For what ever reason a site that I had been slowly working on in Lando has no database when I spin it up. Not that big of a deal, because there wasn't any meaningful content in it yet. I do have all the code and config in a repo, and they import, but no fields are being created in the database. Is there anyway to force the creation of those fields? even if it requires reinstalling the site? I just don't want to have to recreate all those content types and fields!

Comments

klonos's picture

Hello  👋

Have you tried a vanilla installation of Backdrop, and then importing config? If I recall correctly, config does not handle dependencies, so if you had any additional core/contrib modules providing fields, you would need to enable those modules first.

Can you please give that a go and let us know if it works?

Ok. I was able to get it to work. I think I missed a couple pieces, but then also the config for one module was acting up. So replacing the staged file with the active one worked. That got me 90% of the way there. 

Interestingly, the Paragraphs config didn't show in the list, but just recreating the bundle with the same name brought in all the config for that bundle. So that wasn't too bad.

Thanks!