Generated url
Hey folks does anyone know how we can remove the database url in xata.ts file after running xata codegen it will automatically add database url in new generated file. I am using old xata client not the xata next cli.
4 Replies
Why do you want to remove it? Is it because you don’t want the URL in the repo?
If yes, we typically do that by not committing the generated file at all. I can show you an example
Yes cause I am building an open-source repo and I don't want to add the url in my repo.
Yes please share the example.
GitHub
GitHub - xataio/sample-nextjs-chakra-gallery-app: Gallery applicati...
Gallery application built with Xata, Next.js and Chakra UI - xataio/sample-nextjs-chakra-gallery-app
See the bootstrap command
In that case it also generates some data