-
Hi, I'm trying to implement full-text search in PayloadCMS as mentioned by pooledg. It seems we need to add columns, tables, views, or indexes after the I'm looking for a way to avoid |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The possible API for that is described here #4297 (reply in thread) as 3rd option from @DanRibbens Still, you can just completely ignore the schema push workflow via |
Beta Was this translation helpful? Give feedback.
The possible API for that is described here #4297 (reply in thread) as 3rd option from @DanRibbens
I added mine suggestion too. I think it's really important to be able to customize the generated schema, not always you're fine with the generated variant.
Still, you can just completely ignore the schema push workflow via
db.push: false
and just use migrations workflow in the development as well. You create a migration -> add a change to the created migration file (for example tsvector type, or adding a custom table viaCREATE TABLE
) -> migrate.