mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix issues
This commit is contained in:
@ -16,8 +16,7 @@ class AddBaseColumnsToExpenseTable extends Migration
|
||||
Schema::table('expenses', function (Blueprint $table) {
|
||||
$table->decimal('exchange_rate', 19, 6)->nullable();
|
||||
$table->unsignedBigInteger('base_amount')->nullable();
|
||||
$table->unsignedInteger('currency_id');
|
||||
$table->foreign('currency_id')->references('id')->on('currencies');
|
||||
$table->unsignedInteger('currency_id')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user