Update .gitignore, add dist directory
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
export default function schemaCondition(config) {
|
||||
const databaseName = config?.db_name || global.CONFIG?.db_name;
|
||||
if (databaseName) {
|
||||
return {
|
||||
where: "TABLE_SCHEMA = ?",
|
||||
values: [databaseName],
|
||||
};
|
||||
}
|
||||
return {
|
||||
where: "TABLE_SCHEMA = DATABASE()",
|
||||
values: [],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user