Skip to content

Commit 40b8d71

Browse files
committed
smart
1 parent 324044e commit 40b8d71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/server/db/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ async function getDB() {
1616
password: env.MYSQL_PASSWORD,
1717
port: env.MYSQL_PORT,
1818
database: env.MYSQL_DATABASE,
19+
disableEval: true,
1920
});
2021

2122
const db = drizzle({ client, schema, relations, mode: "default" });

0 commit comments

Comments
 (0)