Added models, migrations and controllers

This commit adds the logical structure for the app.
This commit is contained in:
2020-04-29 18:15:54 +01:00
parent 70c7429e36
commit 7c22894e94
28 changed files with 522 additions and 0 deletions

View File

@@ -15,9 +15,13 @@ class CreateUsersTable extends Migration
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('uuid'); // Mojang UUID
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('username'); // Mojang Username
$table->date('dob');
$table->ipAddress('originalIP');
$table->string('password');
$table->rememberToken();
$table->timestamps();