reset totp

This commit is contained in:
Julian Krauser 2024-11-23 12:11:19 +01:00
parent 48a8d1fb45
commit fa1eb6a5f0
14 changed files with 354 additions and 83 deletions

View file

@ -40,6 +40,8 @@ import { Protocol1729347911107 } from "./migrations/1729347911107-protocol";
import { calendar } from "./entity/calendar";
import { calendarType } from "./entity/calendarType";
import { Calendar1729947763295 } from "./migrations/1729947763295-calendar";
import { reset } from "./entity/reset";
import { ResetToken1732358596823 } from "./migrations/1732358596823-resetToken";
const dataSource = new DataSource({
type: DB_TYPE as any,
@ -55,6 +57,7 @@ const dataSource = new DataSource({
user,
refresh,
invite,
reset,
userPermission,
role,
rolePermission,
@ -90,6 +93,7 @@ const dataSource = new DataSource({
Ownership1728313041449,
Protocol1729347911107,
Calendar1729947763295,
ResetToken1732358596823,
],
migrationsRun: true,
migrationsTransactionMode: "each",