Channels
bot-training
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
Powered by
Title
a
Arne
10/31/2022, 6:48 AM
When self-hosting with a Postgres backend, can I instruct Supertokens to create its tables in a specific schema (i.e. supertokens)?By default, which schema does Supertokens use?
n
nkshah2
10/31/2022, 6:51 AM
Hi
@Arne
, You cannot give it custom schemas but if you want to store some additional information you can use the UserMetadata feature (
https://supertokens.com/docs/passwordless/common-customizations/usermetadata/about
) The docs have a section for the database schemas, for example for passwordless you can refer to:
https://supertokens.com/docs/passwordless/pre-built-ui/setup/database-setup/postgresql
r
rp
10/31/2022, 7:13 AM
actually, you can give a custom schema
your postgresql connection uri can have a schema in it which will be used
The default schema is public:
https://github.com/supertokens/supertokens-postgresql-plugin/blob/master/config.yaml#L33
#support-questions
Join Discord