Skip to content

Commit

Permalink
Rename WhatsApp Number table and model
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Oct 17, 2024
1 parent 79c4910 commit ca8cc4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/Models/WhatsAppNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class WhatsAppNumber extends Model
use HasFactory;
use IsTenantModel;

protected $table = 'whats_app_numbers';

protected $fillable = [
'number',
'display_name',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
public function up()
{
Schema::create('whatsapp_numbers', function (Blueprint $table) {
Schema::create('whats_app_numbers', function (Blueprint $table) {
$table->id();
$table->string('number')->unique();
$table->string('display_name');
Expand All @@ -19,6 +19,6 @@ public function up()

public function down()
{
Schema::dropIfExists('whatsapp_numbers');
Schema::dropIfExists('whats_app_numbers');
}
};

0 comments on commit ca8cc4a

Please sign in to comment.