mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for migration logic
This commit is contained in:
parent
7f97fc1bba
commit
ecda90d5f2
@ -10,7 +10,6 @@
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
use App\Livewire\BillingPortal\Purchase;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
@ -19,10 +18,10 @@ return new class extends Migration {
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('subscriptions', function (Blueprint $table) {
|
||||
$table->string('text')->nullable();
|
||||
$table->string('steps')->nullable();
|
||||
});
|
||||
|
||||
$steps = collect(Purchase::$dependencies)
|
||||
$steps = collect(\App\Livewire\BillingPortal\Purchase::$dependencies)
|
||||
->pluck('id')
|
||||
->implode(',');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user