File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 2020use Cake \Console \ConsoleOptionParser ;
2121use Cake \Database \Connection ;
2222use Cake \Database \Schema \CachedCollection ;
23+ use Cake \Database \Schema \CheckConstraint ;
2324use Cake \Database \Schema \CollectionInterface ;
25+ use Cake \Database \Schema \Column ;
26+ use Cake \Database \Schema \Constraint ;
27+ use Cake \Database \Schema \ForeignKey ;
28+ use Cake \Database \Schema \Index ;
2429use Cake \Database \Schema \TableSchema ;
30+ use Cake \Database \Schema \UniqueKey ;
2531use Cake \Datasource \ConnectionManager ;
2632use Cake \Event \Event ;
2733use Cake \Event \EventManager ;
@@ -554,6 +560,12 @@ protected function getDumpSchema(Arguments $args): array
554560 'allowed_classes ' => [
555561 TableSchema::class,
556562 CachedCollection::class,
563+ Column::class,
564+ Index::class,
565+ Constraint::class,
566+ UniqueKey::class,
567+ ForeignKey::class,
568+ CheckConstraint::class,
557569 ],
558570 ]);
559571 }
You can’t perform that action at this time.
0 commit comments