feat: add cms_type and WordPress credential fields to sites

This commit is contained in:
Doar Mihai
2026-07-19 16:43:13 +03:00
parent 88c8203931
commit 30095519e4
4 changed files with 68 additions and 0 deletions
+5
View File
@@ -9,9 +9,14 @@ class Site extends Model
{
use HasFactory;
public const CMS_TYPES = ['wordpress', 'custom', 'other'];
protected $fillable = [
'name',
'url',
'description',
'cms_type',
'wp_username',
'wp_app_password',
];
}