allow placeholder symbol
This commit is contained in:
@@ -15,10 +15,10 @@ class CreateMarketDataTable extends Migration
|
||||
{
|
||||
Schema::create('market_data', function (Blueprint $table) {
|
||||
$table->string('symbol', 15)->primary();
|
||||
$table->string('name');
|
||||
$table->float('market_value', 12, 4);
|
||||
$table->float('fifty_two_week_low', 12, 4);
|
||||
$table->float('fifty_two_week_high', 12, 4);
|
||||
$table->string('name')->nullable();
|
||||
$table->float('market_value', 12, 4)->nullable();
|
||||
$table->float('fifty_two_week_low', 12, 4)->nullable();
|
||||
$table->float('fifty_two_week_high', 12, 4)->nullable();
|
||||
$table->timestamp('last_dividend_date')->nullable();
|
||||
$table->float('last_dividend_amount', 12, 4)->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user