Update contents table

This commit is contained in:
DariusIII
2025-04-10 22:36:58 +02:00
parent d17342db86
commit ebdd767d06
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('content', function (Blueprint $table) {
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('content', function (Blueprint $table) {
$table->dropTimestamps();
});
}
};