Your ROOT_URL in app.ini is http://167.99.32.63:3000/ but you are visiting http://167.99.32.63/ibrahim/BAGETWEBPANEL/blame/branch/KARATAS/database/migrations/2023_02_14_112417_create_incentives_table.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

35 lines
727 B

2 years ago
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateIncentivesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('incentives', function (Blueprint $table) {
$table->id();
$table->foreignId('zone_id');
$table->decimal('earning', 23, 3);
$table->decimal('incentive', 23, 3);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('incentives');
}
}