feat: Implement order and invoice management, enhance addon features, and remove the 'Type' module.
This commit is contained in:
@@ -15,18 +15,6 @@ return new class extends Migration {
|
||||
//
|
||||
Schema::create('invoice_item', function (Blueprint $table) {
|
||||
$table->id()->autoIncrement();
|
||||
// $table->bigInteger('invoice_id')->default(0)->index();
|
||||
// $table->bigInteger('customer_id')->default(0)->index();
|
||||
// $table->tinyInteger('type_id')->default(0)->index();
|
||||
// $table->integer('product_id')->nullable();
|
||||
// $table->integer('billing')->nullable();
|
||||
// $table->integer('parent_id')->nullable();
|
||||
// $table->integer('relid')->nullable();
|
||||
// $table->text('description')->nullable();
|
||||
// $table->integer('amount')->nullable();
|
||||
// $table->integer('tax')->default(1);
|
||||
// $table->integer('due_date');
|
||||
|
||||
$table->bigInteger('invoice_id')->default(0)->index();
|
||||
$table->unsignedBigInteger('product_id')->nullable()->index();
|
||||
$table->integer('months')->default(0);
|
||||
|
||||
Reference in New Issue
Block a user