Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit f2c14074 authored by 64160295's avatar 64160295
Browse files

database up

parent 63698593
Branches
No related tags found
2 merge requests!12proof tranfer update,!10proof tranfer update
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('id_card', 255) ;
$table->string('firstname');
$table->string('lastname');
$table->string('password');
$table->string('email')->unique();
$table->tinyInteger('user_type')->default(0);
$table->string('phone_number');
$table->integer('balance');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<input type="email" class="form-control" id="validationCustom01"> <input type="email" class="form-control" id="validationCustom01">
</div> </div>
<div class="col-12 text-end"> <div class="col-12 text-end">
<a class="btn btn-primary" href=http://127.0.0.1:5501/ลงทะเบียนสมาชิกต่อ.html" role="button">ถัดไป</a> <a class="btn btn-primary" href="http://127.0.0.1:5501/ลงทะเบียนสมาชิกต่อ.html" role="button">ถัดไป</a>
</div> </div>
</form> </form>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment