Skip to content

Commit

Permalink
Changes to files: app/Models/Partner.php
Browse files Browse the repository at this point in the history
database/migrations/2024_09_03_144351_add_deleted_at_to_partner_type_table.php
  • Loading branch information
dedanirungu committed Sep 5, 2024
1 parent 7d79cb2 commit 0ab401d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Models/Partner.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Modules\Partner\Models;

use App\Models\User;
use Modules\Base\Models\BaseModel;
use Modules\Core\Models\Country;
use Modules\Core\Models\Currency;
use Modules\Partner\Models\Meta;
use App\Models\User;s

class Partner extends BaseModel
{
Expand All @@ -26,7 +26,7 @@ class Partner extends BaseModel
*
* @var string
*/
protected $table = "partner";
protected $table = "partner_partner";

/**
* Add relationship to Meta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public function up(): void
{
Schema::table('partner_type', function (Blueprint $table) {

$table->softDeletes();
});
}

Expand All @@ -22,7 +22,7 @@ public function up(): void
public function down(): void
{
Schema::table('partner_type', function (Blueprint $table) {

$table->dropColumn('deleted_at');
});
}
};

0 comments on commit 0ab401d

Please sign in to comment.