Merge pull request 'fixed api issue' (#22) from mohan into master

Reviewed-on: #22
This commit is contained in:
pavithra 2026-06-24 16:39:39 +00:00
commit ffb371438a

View File

@ -12,7 +12,9 @@
public function up(): void
{
Schema::table('sponsors', function (Blueprint $table) {
if (!Schema::hasColumn('sponsors', 'license_data')) {
$table->json('license_data')->nullable()->after('license_number');
}
});
}
@ -22,7 +24,9 @@ public function up(): void
public function down(): void
{
Schema::table('sponsors', function (Blueprint $table) {
if (Schema::hasColumn('sponsors', 'license_data')) {
$table->dropColumn('license_data');
}
});
}
};