clrghouz/database/migrations/2022_10_22_001214_zt.php

34 lines
594 B
PHP
Raw Normal View History

2021-08-21 11:15:22 +00:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Zt extends Migration
2021-08-21 11:15:22 +00:00
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
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()
{
Schema::dropIfExists('zt');
2021-08-21 11:15:22 +00:00
}
}