Web FT UNTAN (Laravel 8) versi lama + dump database ftuntan_web_profil

Kode dari ftuntan_main dengan dependensi diperbarui untuk PHP 8.3
(perbaikan insiden 27 Okt 2026). Dump database di database/sql/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
izu
2026-10-29 13:31:52 +07:00
co-authored by Claude Opus 5.5
commit 5f264c815a
489 changed files with 61031 additions and 0 deletions
@@ -0,0 +1,49 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Str;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable(false);
$table->string('email')->nullable(false)->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
DB::table('users')->insert(
array(
[
'name' => 'Super Admin',
'email' => 'admin@teknik.untan.ac.id',
'password' => bcrypt("4dm1n"),
'remember_token' => Str::random(60)
]
)
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('users');
}
}