From 0ab4bc4208da4637a332250945d35d100c065aa6 Mon Sep 17 00:00:00 2001 From: Peter Elmered Date: Thu, 5 Dec 2024 02:37:56 +0100 Subject: [PATCH] Remove blueprint macro. This is a 2.0 feature. --- src/FilamentMoneyFieldServiceProvider.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/FilamentMoneyFieldServiceProvider.php b/src/FilamentMoneyFieldServiceProvider.php index f3b4d8d..6416f7d 100644 --- a/src/FilamentMoneyFieldServiceProvider.php +++ b/src/FilamentMoneyFieldServiceProvider.php @@ -21,12 +21,5 @@ public function boot(): void $this->publishes([ __DIR__.'/../config/filament-money-field.php' => config_path('filament-money-field.php'), ], 'config'); - - Blueprint::macro('money', function (string $name, ?string $indexName = null) { - $this->unsignedBigInteger($name); - $this->string("{$name}_currency"); - - $this->index([$name, "{$name}_currency"], $indexName); - }); } }