Fixes issue affecting deleting multiple fields of a Schema (#3735)
This commit is contained in:
committed by
Florent Vilmart
parent
2a5c20376a
commit
5e14147676
@@ -623,7 +623,7 @@ export class PostgresStorageAdapter {
|
||||
const values = [className, ...fieldNames];
|
||||
const columns = fieldNames.map((name, idx) => {
|
||||
return `$${idx + 2}:name`;
|
||||
}).join(',');
|
||||
}).join(', DROP COLUMN');
|
||||
|
||||
const doBatch = (t) => {
|
||||
const batch = [
|
||||
|
||||
Reference in New Issue
Block a user