PHP code example of evvo / tidb-laravel
1. Go to this page and download the library: Download evvo/tidb-laravel library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
evvo / tidb-laravel example snippets
Schema::table('users', function (Blueprint $table) {
$table->boolean('verified')->default(false);
$table->string('name')->nullable();
});
Schema::table('users', function (Blueprint $table) {
$table->boolean('verified')->default(false);
});
Schema::table('users', function (Blueprint $table) {
$table->string('name')->nullable();
});