when i do command 'npx prisma db pull', Can i pull specific table?
i have many unnecessary tables,, So, i want to pull specific tables when i do npx prsima db pull. is there functions?
1 Reply
By default, Prisma will pull all the tables. If you only want to pull certain specific tables then you can create a database user which has access to only the tables you would like to pull.
You can then use this database user in the connection string. This would allow you to pull only the tables that the database user has access to.