diff --git a/web/Modules/Email/App/Models/DomainDkim.php b/web/Modules/Email/App/Models/DomainDkim.php index 6e487ea..50937b1 100644 --- a/web/Modules/Email/App/Models/DomainDkim.php +++ b/web/Modules/Email/App/Models/DomainDkim.php @@ -15,8 +15,4 @@ class DomainDkim extends Model */ protected $fillable = []; - protected static function newFactory(): DomainDkimFactory - { - //return DomainDkimFactory::new(); - } } diff --git a/web/Modules/Email/App/Models/DomainDkimSigning.php b/web/Modules/Email/App/Models/DomainDkimSigning.php index 69378f5..ebd924b 100644 --- a/web/Modules/Email/App/Models/DomainDkimSigning.php +++ b/web/Modules/Email/App/Models/DomainDkimSigning.php @@ -14,9 +14,5 @@ class DomainDkimSigning extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): DomainDkimSigningFactory - { - //return DomainDkimSigningFactory::new(); - } + } diff --git a/web/Modules/Email/App/Models/EmailAlias.php b/web/Modules/Email/App/Models/EmailAlias.php index 822a52f..8b02206 100644 --- a/web/Modules/Email/App/Models/EmailAlias.php +++ b/web/Modules/Email/App/Models/EmailAlias.php @@ -14,9 +14,5 @@ class EmailAlias extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): EmailAliasFactory - { - //return EmailAliasFactory::new(); - } + } diff --git a/web/Modules/Email/App/Models/EmailAliasDomain.php b/web/Modules/Email/App/Models/EmailAliasDomain.php index 47a85bf..ed5f3e3 100644 --- a/web/Modules/Email/App/Models/EmailAliasDomain.php +++ b/web/Modules/Email/App/Models/EmailAliasDomain.php @@ -14,9 +14,5 @@ class EmailAliasDomain extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): EmailAliasDomainFactory - { - //return EmailAliasDomainFactory::new(); - } + } diff --git a/web/Modules/Email/App/Models/EmailBox.php b/web/Modules/Email/App/Models/EmailBox.php index fbd002c..421ee34 100644 --- a/web/Modules/Email/App/Models/EmailBox.php +++ b/web/Modules/Email/App/Models/EmailBox.php @@ -14,9 +14,5 @@ class EmailBox extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): EmailBoxFactory - { - //return EmailBoxFactory::new(); - } + } diff --git a/web/Modules/Email/App/Models/EmailQuota.php b/web/Modules/Email/App/Models/EmailQuota.php index acd80a8..68f7b33 100644 --- a/web/Modules/Email/App/Models/EmailQuota.php +++ b/web/Modules/Email/App/Models/EmailQuota.php @@ -14,9 +14,5 @@ class EmailQuota extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): EmailQuotaFactory - { - //return EmailQuotaFactory::new(); - } + } diff --git a/web/Modules/Email/App/Models/EmailQuota2.php b/web/Modules/Email/App/Models/EmailQuota2.php index 7a87032..17c79f9 100644 --- a/web/Modules/Email/App/Models/EmailQuota2.php +++ b/web/Modules/Email/App/Models/EmailQuota2.php @@ -14,9 +14,5 @@ class EmailQuota2 extends Model * The attributes that are mass assignable. */ protected $fillable = []; - - protected static function newFactory(): EmailQuota2Factory - { - //return EmailQuota2Factory::new(); - } + } diff --git a/web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quota2_table.php b/web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quotas2_table.php similarity index 82% rename from web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quota2_table.php rename to web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quotas2_table.php index 30b7fd2..549a787 100644 --- a/web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quota2_table.php +++ b/web/Modules/Email/Database/migrations/2024_09_18_130450_create_email_quotas2_table.php @@ -11,9 +11,9 @@ return new class extends Migration */ public function up(): void { - Schema::create('email_quota2', function (Blueprint $table) { + Schema::create('email_quotas2', function (Blueprint $table) { $table->id(); - + $table->string('username', 100)->nullable(); $table->bigInteger('bytes')->default(0); $table->integer('messages')->nullable(); @@ -27,6 +27,6 @@ return new class extends Migration */ public function down(): void { - Schema::dropIfExists('email_quota2'); + Schema::dropIfExists('email_quotas2'); } };