6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
20 lines
646 B
JavaScript
20 lines
646 B
JavaScript
var __defProp = Object.defineProperty;
|
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
var __export = (target, all) => {
|
|
__markAsModule(target);
|
|
for (var name in all)
|
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
};
|
|
__export(exports, {
|
|
withSqliteForeignKeysOff: () => withSqliteForeignKeysOff
|
|
});
|
|
async function withSqliteForeignKeysOff(sequelize, options, cb) {
|
|
try {
|
|
await sequelize.query("PRAGMA foreign_keys = OFF", options);
|
|
return await cb();
|
|
} finally {
|
|
await sequelize.query("PRAGMA foreign_keys = ON", options);
|
|
}
|
|
}
|
|
//# sourceMappingURL=sqlite-utils.js.map
|