id(); $table->foreignIdFor(Currency::class); $table->foreignIdFor(City::class); $table->decimal('buy_price'); $table->decimal('sell_price'); $table->date('date'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('rates'); } };