This commit is contained in:
Nguyễn Tiến Dũng
2022-05-01 22:01:12 +07:00
parent 0363bb15ba
commit 96e0513959
102 changed files with 27404 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMomosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('momos', function (Blueprint $table) {
$table->id();
$table->string('phone');
$table->string('token');
$table->string('password');
$table->string('min');
$table->string('max');
$table->integer('times');
$table->integer('amount');
$table->integer('status');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('momos');
}
}