Refactor event bus and queue system; detect cycles in DI realization and make
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -94,7 +94,7 @@ export class PostgresSchema extends Schema {
|
||||
.type(ConstraintType.Unique)
|
||||
.tap(constraint => {
|
||||
collect<{column_name: string}>(uniques[key]) // eslint-disable-line camelcase
|
||||
.pluck<string>('column_name')
|
||||
.pluck('column_name')
|
||||
.each(column => constraint.field(column))
|
||||
})
|
||||
.flagAsExistingInSchema()
|
||||
@@ -125,7 +125,7 @@ export class PostgresSchema extends Schema {
|
||||
}
|
||||
})
|
||||
.whereNotIn('column', nonNullable.pluck('column_name'))
|
||||
.pluck<string>('column')
|
||||
.pluck('column')
|
||||
.each(column => {
|
||||
table.column(column)
|
||||
.nullable()
|
||||
@@ -161,7 +161,7 @@ export class PostgresSchema extends Schema {
|
||||
return builder
|
||||
.peek(idx => {
|
||||
collect<{column_name: string}>(groupedIndexes[key]) // eslint-disable-line camelcase
|
||||
.pluck<string>('column_name')
|
||||
.pluck('column_name')
|
||||
.each(col => idx.field(col))
|
||||
})
|
||||
.when(groupedIndexes[key]?.[0]?.indisprimary, idx => idx.primary())
|
||||
|
||||
Reference in New Issue
Block a user