feat: ship creator journey v2 and profile updates

This commit is contained in:
2026-04-12 21:42:07 +02:00
parent a2457f4e49
commit d5cff21ea2
335 changed files with 20147 additions and 1545 deletions

View File

@@ -9,11 +9,11 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
class ArtworkAwardStat extends Model
{
protected $table = 'artwork_award_stats';
protected $table = 'artwork_medal_stats';
public $primaryKey = 'artwork_id';
public $incrementing = false;
public $timestamps = false;
public $timestamps = true;
protected $fillable = [
'artwork_id',
@@ -21,6 +21,10 @@ class ArtworkAwardStat extends Model
'silver_count',
'bronze_count',
'score_total',
'score_7d',
'score_30d',
'last_medaled_at',
'created_at',
'updated_at',
];
@@ -30,6 +34,10 @@ class ArtworkAwardStat extends Model
'silver_count' => 'integer',
'bronze_count' => 'integer',
'score_total' => 'integer',
'score_7d' => 'integer',
'score_30d' => 'integer',
'last_medaled_at' => 'datetime',
'created_at' => 'datetime',
'updated_at' => 'datetime',
];