mirror of
				https://github.com/cp6/my-idlers.git
				synced 2025-11-03 23:59:09 +00:00 
			
		
		
		
	Merge pull request #49 from imlonghao/cpu/fillable
model(server): add cpu to fillable
This commit is contained in:
		
						commit
						7dd8ce0905
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -13,7 +13,9 @@ class Server extends Model
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public $incrementing = false;
 | 
					    public $incrementing = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    protected $fillable = ['id', 'hostname', 'ipv4', 'ipv6', 'server_type', 'os_id', 'location_id', 'provider_id', 'ram', 'disk', 'ram_type', 'disk_type', 'ns1', 'ns2', 'label', 'bandwidth', 'ram_as_mb', 'disk_as_gb', 'has_yabs', 'was_promo', 'owned_since', 'ssh', 'active', 'show_public'];
 | 
					    protected $fillable = ['id', 'hostname', 'ipv4', 'ipv6', 'server_type', 'os_id', 'location_id', 'provider_id',
 | 
				
			||||||
 | 
					        'ram', 'disk', 'ram_type', 'disk_type', 'ns1', 'ns2', 'label', 'bandwidth', 'ram_as_mb', 'disk_as_gb',
 | 
				
			||||||
 | 
					        'has_yabs', 'was_promo', 'owned_since', 'ssh', 'active', 'show_public', 'cpu'];
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @var mixed
 | 
					     * @var mixed
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue