can the original identity schema of a user be upda...
# talk-kratos
r
can the original identity schema of a user be updated?
w
r
so it's as easy as changing the schema_id and adding the appropriate properties relevant to the new schema
w
it appears to be so
m
Thanks Radek, that is correct 🙂 Let me know if you are having trouble with that.
r
thanks all
q
am i understanding correctly, there is no place to change the "Identity Schema" like in ory console? We can think about this in this way: "we are changing the base schema whenever we change the schema for the user"?
m
@quick-policeman-79047 When you change the identity schema in there in the console, it will be used for all newly created users. With the old users you have to change it to the new one (and add new traits etc.). When self-hosting you host your schema somewhere where Ory Kratos can read it and add it to the config. Ory Network handles that for you. Did that answer your question?
q
@magnificent-energy-493 yes, thank you! one more thing.
somewhere where Ory Kratos can read
i tryed use documentation, but cant find any of right places. I thought this is the clue https://www.ory.sh/docs/kratos/manage-identities/best-practices#updating-identity-schemas but didn't find any link what is the particular file that should include this data.
m
@quick-policeman-79047 It depends how you run Ory Kratos. For example this is how it is supplied in the quickstart: https://github.com/ory/kratos/blob/40ab76af4f36c671fc1d1108c3b6a15adcdb6125/contrib/quickstart/kratos/email-password/kratos.yml#L93