Refactor the database, in preparation to moving to postgresql

This commit is contained in:
Deon George
2022-10-23 13:46:46 +11:00
parent 2495e4675c
commit 5745c67538
45 changed files with 530 additions and 1553 deletions

View File

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Zt 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');
}
}