previously i had `username` OR `email address` be ...
# talk-kratos
s
previously i had
username
OR
email address
be a unique identifier. now we only want
email
to be unique our identity schema is
Copy code
"identity.email.schema.json": |
          ....
              "properties": {
                "username": {
                  "title": "Username",
                  "type": "string",
                  "<http://ory.sh/kratos|ory.sh/kratos>": {
                    "credentials": {
                      "password": {
                        "identifier": true
                      }
                    },
                    "verification": {
                      "via": "email"
                    },
                    "recovery": {
                      "via": "email"
                    }
                  }
                },
is deleting the
<http://ory.sh/kratos|ory.sh/kratos>
json from this and redploying the helm chart sufficient, or would we have to go into the DB and remove unique constraints etc?