diff --git a/database/migrations/2021_05_18_184617_create_services_table.php b/database/migrations/2021_05_18_184617_create_services_table.php index 869c82d..9460386 100644 --- a/database/migrations/2021_05_18_184617_create_services_table.php +++ b/database/migrations/2021_05_18_184617_create_services_table.php @@ -20,7 +20,9 @@ class CreateServicesTable extends Migration $table->string('name'); $table->string('type')->nullable(); $table->string('site'); + $table->string('note')->nullable(); $table->string('supplier')->nullable(); + $table->integer('supplier_id')->nullable(); $table->string('supplier_link')->nullable(); $table->string('modifier')->default(''); $table->integer('maximum'); diff --git a/database/migrations/2021_05_19_185302_create_orders_table.php b/database/migrations/2021_05_19_185302_create_orders_table.php index 1de5d90..c4e7335 100644 --- a/database/migrations/2021_05_19_185302_create_orders_table.php +++ b/database/migrations/2021_05_19_185302_create_orders_table.php @@ -21,8 +21,9 @@ class CreateOrdersTable extends Migration $table->bigInteger('quantity'); $table->integer('attempts')->default(0); $table->string('note')->default(''); + $table->string('message')->nullable(); $table->bigInteger('remaining')->default(0); - $table->enum('status', ['processing', 'pending', 'canceled', 'refunded', 'completed']); + $table->enum('status', ['processing', 'pending', 'canceled', 'refunded', 'completed', 'error']); $table->string('url'); }); }