mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
42 lines
983 B
PHP
42 lines
983 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->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('invoices');
|
|
}
|
|
}
|