Compare commits
No commits in common. "ffb371438ade8c4584b146b5e594ba110fe3f039" and "e6b6cd74d3c52dc4b6bd5eff596ed558ce849feb" have entirely different histories.
ffb371438a
...
e6b6cd74d3
@ -12,9 +12,7 @@
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('sponsors', function (Blueprint $table) {
|
Schema::table('sponsors', function (Blueprint $table) {
|
||||||
if (!Schema::hasColumn('sponsors', 'license_data')) {
|
|
||||||
$table->json('license_data')->nullable()->after('license_number');
|
$table->json('license_data')->nullable()->after('license_number');
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,9 +22,7 @@ public function up(): void
|
|||||||
public function down(): void
|
public function down(): void
|
||||||
{
|
{
|
||||||
Schema::table('sponsors', function (Blueprint $table) {
|
Schema::table('sponsors', function (Blueprint $table) {
|
||||||
if (Schema::hasColumn('sponsors', 'license_data')) {
|
|
||||||
$table->dropColumn('license_data');
|
$table->dropColumn('license_data');
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user