This commit is contained in:
f4ilji
2025-03-13 12:17:27 +05:00
parent 2fa59350cf
commit 7a7ecf7b0d
32 changed files with 571 additions and 311 deletions
@@ -0,0 +1,32 @@
<?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::dropIfExists('students');
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::create('students', function (Blueprint $table) {
$table->id();
$table->string('department');
$table->string('position');
$table->double('fraction');
$table->integer('salary');
$table->string('notice');
$table->timestamps();
});
}
};