@@ -48,7 +48,7 @@ public function createRangePartitioned(string $table, Closure $callback, string
4848 * @param string $endDate
4949 * @return void
5050 */
51- public function attachRangePartition (string $ table , Closure $ callback , string $ subfixForPartition , string $ startDate , string $ endDate )
51+ public function initRangePartition (string $ table , Closure $ callback , string $ subfixForPartition , string $ startDate , string $ endDate )
5252 {
5353 $ this ->build (tap ($ this ->createBlueprint ($ table ), function ($ blueprint ) use ($ callback , $ subfixForPartition , $ startDate , $ endDate ) {
5454 $ blueprint ->attachRangePartition ();
@@ -91,7 +91,7 @@ public function createListPartitioned(string $table, Closure $callback, string $
9191 * @param string $listPartitionValue
9292 * @return void
9393 */
94- public function attachListPartition (string $ table , Closure $ callback , string $ subfixForPartition , string $ listPartitionValue )
94+ public function initListPartition (string $ table , Closure $ callback , string $ subfixForPartition , string $ listPartitionValue )
9595 {
9696 $ this ->build (tap ($ this ->createBlueprint ($ table ), function ($ blueprint ) use ($ callback , $ subfixForPartition , $ listPartitionValue ) {
9797 $ blueprint ->attachListPartition ();
@@ -134,7 +134,7 @@ public function createHashPartitioned(string $table, Closure $callback, string $
134134 * @param int $hashRemainder
135135 * @return void
136136 */
137- public function attachHashPartition (string $ table , Closure $ callback , string $ subfixForPartition , int $ hashModulus , int $ hashRemainder )
137+ public function initHashPartition (string $ table , Closure $ callback , string $ subfixForPartition , int $ hashModulus , int $ hashRemainder )
138138 {
139139 $ this ->build (tap ($ this ->createBlueprint ($ table ), function ($ blueprint ) use ($ callback , $ subfixForPartition , $ hashModulus , $ hashRemainder ) {
140140 $ blueprint ->attachHashPartition ();
0 commit comments