mirror of
https://github.com/outline/outline.git
synced 2026-01-05 18:49:53 -06:00
11 lines
312 B
TypeScript
11 lines
312 B
TypeScript
import SequelizeEncrypted from "sequelize-encrypted";
|
|
import { Sequelize } from "sequelize-typescript";
|
|
import env from "@server/env";
|
|
|
|
/**
|
|
* Encrypted field storage, use via the Encrypted decorator, not directly.
|
|
*/
|
|
export default function vaults() {
|
|
return SequelizeEncrypted(Sequelize, env.SECRET_KEY);
|
|
}
|