Update source into github
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('module_domain', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name', 255)->nullable(0);
|
||||
$table->bigInteger('order_id')->default(0)->index();
|
||||
$table->integer('first_payment')->nullable();
|
||||
$table->integer('next_payment')->nullable();
|
||||
$table->unsignedBigInteger('module_dns_id');
|
||||
$table->integer('next_due_date')->nullable();
|
||||
$table->integer('next_invoice_date')->nullable();
|
||||
$table->bigInteger('customer_id')->default(0)->index();
|
||||
$table->integer('domain_type_id')->default(0)->index();
|
||||
$table->tinyInteger('status')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('module_domains');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user