update migrations
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Models\MarketData;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
@@ -16,7 +17,7 @@ class CreateDividendsTable extends Migration
|
||||
Schema::create('dividends', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->date('date');
|
||||
$table->string('symbol', 15);
|
||||
$table->foreignIdFor(MarketData::class, 'symbol');
|
||||
$table->float('dividend_amount', 12, 4);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user