Update prisma-multi-tenant new command
See original GitHub issuePlease update the command prisma-multi-tenant new
Currently we are building slack like app.
So, we’re finding the solution for creating tenant by calling the rest api on the frontend side.
We are going to run the prisma-multi-tenant new
command using const { exec } = require('child_process');
But we are not able to input tenant name and database url which is asked by prisma-multi-tenant new
command.
So, please make the argument option like this
prisma-multi-tenant new -name='tenant1' -databaseurl='postgresql://postgres:postgres@localhost:5432/xxxxx'
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
prisma-multi-tenant/Complete_Documentation.md at master
Use Prisma as a multi-tenant provider for your application ... The new command create a new database using your schema. It will use...
Read more >Manage Multiple Tenants in Prisma Access - Palo Alto Networks
Manage Multiple Tenants in Prisma Access ... Existing or future non-multitenant deployments are not affected by multitenancy and will continue to ...
Read more >How to create a Multi-tenant application with Next.js and Prisma
Creating a map of domains to organizations. Run the yarn prisma migrate dev command and you should be good to go. In your...
Read more >prisma-multi-tenant-fork - npm package - Snyk
Prisma gives you all the tools necessary to handle your database: data modeling, database schema migrations, type safe database access, etc.
Read more >Prisma Client Just Became a Lot More Flexible
This example shows how to use a Prisma Client extension to isolate data between tenants in a multi-tenant app using Row Level Security...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This solution works for me. btw,
prisma-multi-tenant new --name=the_name --url=postgresql://...
still askAre you sure of your inputs?
, so I can’t use itThe latest version also fixes the
prisma-multi-tenant new --name=abc --url=something
bug, so I’ll close this issue