Nodelist import
This commit is contained in:
33
database/migrations/2019_04_16_105252_create_zt.php
Normal file
33
database/migrations/2019_04_16_105252_create_zt.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateZt extends Migration
|
||||
{
|
||||
/**
|
||||
* 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);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('zt');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user