https://supertokens.com/ logo
#general
Title
# general
j

joeldesante

04/13/2022, 10:55 PM
Question, should I use the same db instance for the entire project or is it better practice to have a dedicated database for supertokens?
r

rp

04/14/2022, 4:16 AM
Hey @User
You can use the same db instance, but just crests a different db in it.
But even just putting it all in your existing db with some prefix to the table names is fine.
Either works
p

PolarBear

04/14/2022, 4:21 AM
May i know what should be the recommended way?
r

rp

04/14/2022, 4:22 AM
I’d put it in the same db with a prefix to all the table names
p

PolarBear

04/14/2022, 4:23 AM
Could you please explain the pros/cons of that solution?
r

rp

04/14/2022, 4:25 AM
I’m not really sure at the moment. Just a personal choice.
2 Views