1688 order reference

This commit is contained in:
Jia Sheng
2024-07-14 19:15:43 +08:00
parent 63118efc0b
commit cb7c38a50d
16 changed files with 350 additions and 5 deletions
@@ -0,0 +1,24 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateModelAttributesTable extends Migration
{
public function up()
{
Schema::create('model_attributes', function (Blueprint $table) {
$table->id();
$table->morphs('owner');
$table->string('name');
$table->json('value');
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('model_attributes');
}
}