File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ public function postGenerateSchemaTable(GenerateSchemaTableEventArgs $eventArgs)
56
56
}
57
57
58
58
// Add revision info
59
- $ revisionTable ->addColumn ($ this ->config ->getRevisionFieldName (), 'integer ' );
60
- $ revisionTable ->addColumn ($ this ->config ->getRevisionTypeFieldName (), 'string ' , array ('length ' => 4 ));
59
+ $ revisionTable ->addColumn ($ this ->configuration ->getRevisionFieldName (), 'integer ' );
60
+ $ revisionTable ->addColumn ($ this ->configuration ->getRevisionTypeFieldName (), 'string ' , array ('length ' => 4 ));
61
61
62
62
// Get each column (except id) and add it to the table
63
63
foreach ($ entityTable ->getColumns () AS $ column ) {
@@ -71,7 +71,7 @@ public function postGenerateSchemaTable(GenerateSchemaTableEventArgs $eventArgs)
71
71
72
72
// Get the primary keys
73
73
$ pkColumns = $ entityTable ->getPrimaryKey ()->getColumns ();
74
- $ pkColumns [] = $ this ->config ->getRevisionFieldName ();
74
+ $ pkColumns [] = $ this ->configuration ->getRevisionFieldName ();
75
75
$ revisionTable ->setPrimaryKey ($ pkColumns );
76
76
}
77
77
}
You can’t perform that action at this time.
0 commit comments