feat(infisical-pg): completed secret scanner

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent bfaf87c4c2
commit 850e7bff98
34 changed files with 3290 additions and 85 deletions
+1 -3
View File
@@ -85,9 +85,7 @@ const main = async () => {
.whereRaw("table_schema = current_schema()")
.select<{ tableName: string }[]>("table_name as tableName")
.orderBy("table_name")
).filter(
(el) => el.tableName !== "infisical_migrations_lock" && el.tableName !== "infisical_migrations"
);
).filter((el) => el.tableName.includes("migration"));
console.log("Select a table to generate schema");
console.table(tables);