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
tsg
tsg2mo ago
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
Anonymous_hacker
Anonymous_hackerOP2mo ago
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.
tsg
tsg2mo ago
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
tsg
tsg2mo ago
See the bootstrap command In that case it also generates some data
Want results from more Discord servers?
Add your server