Skip to content

Allow diacritics/accents characters for User schema in SQL Server DB - TypeORM #718

@jiriludvik

Description

@jiriludvik

Summary of proposed feature
Hello, recently I discovered a problem when working with database sessions stored in SQL Server (TypeOrm adapter). My setup uses Azure Active Directory (oauth2.0) to sign users in. The thing is that as I have there user with name "Jiří" - this creates new record in DB table "users" with name = "JiYí".

Having checked the docs for MS SQL schema seems the problem is that column "name" is of type varchar. Another problem could be in schema definition which states the same.

Purpose of proposed feature
Would it be possible to update required definitions to use nvarchar instead of varchar to handle accented characters?

Potential problems
Not sure about potential problems as I'm quite new in Javascript and Next.JS field ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestpriorityPriority fix or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions