save things

This commit is contained in:
Andras Bacsai
2023-05-08 13:36:49 +02:00
parent dfecf2cc60
commit d77d32853f
22 changed files with 240 additions and 18 deletions

View File

@@ -8,7 +8,6 @@ use Illuminate\Support\Str;
class EnvironmentVariable extends Model
{
protected $fillable = ['key', 'value', 'is_build_time', 'application_id'];
protected $casts = [
"key" => 'string',

View File

@@ -4,6 +4,7 @@ namespace App\Models;
class GithubApp extends BaseModel
{
protected $fillable = ['name', 'organization', 'api_url', 'html_url', 'custom_user', 'custom_port', 'team_id'];
protected $casts = [
'is_public' => 'boolean',
];