2021-08-21 11:15:22 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2022-10-23 02:46:46 +00:00
|
|
|
class Zt extends Migration
|
2021-08-21 11:15:22 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2022-10-23 02:46:46 +00:00
|
|
|
Schema::create('zt', function (Blueprint $table) {
|
|
|
|
$table->binary('id',10)->unique();
|
|
|
|
$table->timestamps();
|
|
|
|
$table->text('api');
|
|
|
|
$table->binary('token',24);
|
2021-08-21 11:15:22 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2022-10-23 02:46:46 +00:00
|
|
|
Schema::dropIfExists('zt');
|
2021-08-21 11:15:22 +00:00
|
|
|
}
|
|
|
|
}
|