Fix on data for article, problem with id on polymorphic

This commit is contained in:
Ludovic CANDELLIER
2022-01-18 00:08:04 +01:00
parent 050fd76122
commit 3641bd7d68
5 changed files with 63 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStatsTables extends Migration
{
public function up()
{
Schema::create('stats_events', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('type');
$table->bigInteger('value');
$table->timestamps();
});
}
}