Files
vuefilemanager/database/migrations/2020_06_02_094048_create_invoices_table.php
2020-06-03 10:58:44 +02:00

43 lines
1017 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInvoicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('invoices', function (Blueprint $table) {
$table->bigIncrements('id');
$table->text('token');
$table->text('order');
$table->text('user_id');
$table->text('plan_id');
$table->longText('seller');
$table->longText('client');
$table->longText('bag');
$table->longText('notes')->nullable();
$table->text('total');
$table->text('currency');
$table->text('path');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('invoices');
}
}