Files
datahub/backend/migrations/2025_11_13_064513_create_skus_table.php
T

28 lines
528 B
PHP
Raw Normal View History

2025-11-13 15:14:26 +08:00
<?php
use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Migrations\Migration;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('skus', function (Blueprint $table) {
$table->bigIncrements('id');
$table->datetimes();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('skus');
}
};