feat: sqlite driver for auth service (#572)

* wip: initial sqlite bootstrap

* wip: switch to sqlite3 as default db type

* wip: boilerplate data

* fix(auth): case sensitive register and login

* fix(auth): refactor username validations

* fix(auth): allow changing username to both username and email:

* fix(auth): lock middleware for recovery log in

* fix(domain-core): specs for invalid types

* fix(auth): lock middleware specs

* fix(auth): typeorm code arrangements

* fix: running e2e on both mysql and sqlite in ci
This commit is contained in:
Karol Sójko
2023-04-27 11:17:01 +02:00
committed by GitHub
parent 34018ae7eb
commit 3aef5998df
238 changed files with 526592 additions and 205 deletions

View File

@@ -57,6 +57,9 @@ fi
if [ -z "$DB_DEBUG_LEVEL" ]; then
export DB_DEBUG_LEVEL="all"
fi
if [ -z "$DB_TYPE" ]; then
export DB_TYPE="mysql"
fi
export DB_MIGRATIONS_PATH="dist/migrations/*.js"
#########