Switch to case sensitive and get submitting + getting working

This commit is contained in:
Ajay Ramachandran
2021-03-04 20:23:05 -05:00
parent 1a66be8665
commit 2772a9dcc6
16 changed files with 87 additions and 87 deletions

View File

@@ -67,9 +67,9 @@ export class Postgres implements IDatabase {
}
private processUpgradeQuery(query: string): string {
let result = query.toLocaleLowerCase();
let result = query;
result = result.replace(/sha256\((.*?)\)/gm, "digest($1, 'sha256')");
result = result.replace(/integer/gm, "numeric");
result = result.replace(/integer/gmi, "NUMERIC");
return result;
}