mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 07:14:38 -04:00
Catch for migrations that has already run
This commit is contained in:
parent
96766d33b8
commit
299556dd5e
@ -12,10 +12,12 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
|
||||
if(!in_array('referral_meta', \Illuminate\Support\Facades\Schema::getColumnListing('users')))
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->mediumText('referral_meta')->nullable();
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user