mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) remove ormconfig.js from saas build; more sendgrid logging
Summary: This removes ormconfig.js from the saas build since it is no longer needed (and has always been a pain point). This expands some sendgrid logging to help figure out a problem. Test Plan: existing tests should pass Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3808
This commit is contained in:
@@ -103,7 +103,7 @@ export async function undoLastMigration(connection: Connection) {
|
||||
// Replace the old janky ormconfig.js file, which was always a source of
|
||||
// pain to use since it wasn't properly integrated into the typescript
|
||||
// project.
|
||||
function getTypeORMSettings(): DataSourceOptions {
|
||||
export function getTypeORMSettings(): DataSourceOptions {
|
||||
// If we have a redis server available, tell typeorm. Then any queries built with
|
||||
// .cache() called on them will be cached via redis.
|
||||
// We use a separate environment variable for the moment so that we don't have to
|
||||
|
||||
Reference in New Issue
Block a user