mirror of
https://github.com/outline/outline.git
synced 2026-02-05 10:09:55 -06:00
10 lines
289 B
TypeScript
10 lines
289 B
TypeScript
import SequelizeEncrypted from "sequelize-encrypted";
|
|
import { Sequelize } from "sequelize-typescript";
|
|
|
|
/**
|
|
* Encrypted field storage, use via the Encrypted decorator, not directly.
|
|
*/
|
|
export default function vaults() {
|
|
return SequelizeEncrypted(Sequelize, process.env.SECRET_KEY);
|
|
}
|