Skip to content

Commit 1afa5bc

Browse files
Remove unused restoredAt macro from CreatedByServiceProvider
The restoredAt macro was no longer being utilized in the codebase and has been removed to simplify the provider. This change helps reduce unnecessary methods and ensures the service provider contains only relevant functionality.
1 parent 04ce9ca commit 1afa5bc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/CreatedByServiceProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ public function packageRegistered(): void
3737
->default(null);
3838
});
3939
}
40-
if (!Blueprint::hasMacro('restoredAt')) {
41-
Blueprint::macro('restoredAt', function () {
42-
$this->timestamp('restored_at')->nullable()->default(null);
43-
});
44-
}
4540
if (! Blueprint::hasMacro('dropCreatedBy')) {
4641
Blueprint::macro('dropCreatedBy', function () {
4742
$this->dropColumn('created_by');

0 commit comments

Comments
 (0)