Cast fields to string and drop unused table.

This commit is contained in:
James Cole
2024-11-15 19:13:37 +01:00
parent ec89a2f956
commit 60f6a91fe4
12 changed files with 17 additions and 19 deletions

View File

@@ -49,6 +49,8 @@ class CurrencyExchangeRate extends Model
'from_currency_id' => 'int',
'to_currency_id' => 'int',
'date' => SeparateTimezoneCaster::class,
'rate' => 'string',
'user_rate' => 'string',
];
protected $fillable = ['user_id', 'from_currency_id', 'to_currency_id', 'date', 'date_tz', 'rate'];