ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.67k stars 387 forks source link

Generating a second database for existing application #318

Closed Tom2Terrific closed 4 years ago

Tom2Terrific commented 4 years ago

Watching the ponzu youtube video yet again, after initially generating "author" database, Steve as able to add "book" database using the generate CLI.

When I try that, I get another .go file in the content folder with the name of the new database, and "ponzu build" "ponzu run" has only the original database.

Usage: ponzu generate content ... [flags]

The only difference that I can spot is that when the youtube video generated a second time, there was a reference to Author in the existing database? I'm only wanting 2 databases in the one application, for now, with no relation between them.