This commit is contained in:
2025-03-07 07:26:11 -06:00
parent 777e780f74
commit 1f28cdfa1c
3 changed files with 20 additions and 59 deletions

View File

@ -17,11 +17,11 @@ return new class extends Migration
$table->char('c_currency', 3)->charset('ascii')->collation('ascii_general_ci')->unique();
$table->string('symbol', 10)->nullable();
$table->boolean('auto_update_exchange_rates')->default(true);
$table->unsignedInteger('refresh_interval')->default(24); // Tiempo de actualización en horas
$table->decimal('adjustment_percent', 5, 2)->default(0); // Ajuste porcentual opcional
$table->boolean('auto_update_exchange_rates')->default(false);
$table->unsignedInteger('refresh_interval')->default(24)->nullable(); // Tiempo de actualización en horas
$table->decimal('adjustment_percent', 5, 2)->default(0)->nullable(); // Ajuste porcentual opcional
$table->boolean('status');
$table->boolean('status')->index();
// Auditoria
$table->timestamps();