Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Fix add account (#133)
Browse files Browse the repository at this point in the history
* Fix data base_change

* changelog
  • Loading branch information
alexcaussades authored Nov 25, 2023
1 parent 5332b73 commit 55767e0
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
20 changes: 20 additions & 0 deletions database/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,25 @@
"description": "Prepare the favorites metar (not finished) | (V.0.0.2 in progress)"
}
]
},
"9": {
"id": 10,
"name": "2023 / 35",
"date": "2023-11-25",
"version": "26.2.6",
"option": [
{
"id": 0,
"type": "Bug Fix",
"btn": "danger",
"description": "Fixed Account creat page"
},
{
"id": 1,
"type": "Change",
"btn": "warning",
"description": "change welcome page"
}
]
}
}
26 changes: 26 additions & 0 deletions database/migrations/2023_11_25_103158_updateusers.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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('users', function (Blueprint $table) {
$table->string('email')->nullable()->change()->comment('Email');
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};

0 comments on commit 55767e0

Please sign in to comment.