Przeglądaj źródła

Add more supplier information to tables

tags/v0.1.0
Immanuel Onyeka 3 lat temu
rodzic
commit
894ce0a972
2 zmienionych plików z 4 dodań i 1 usunięć
  1. +2
    -0
      database/migrations/2021_05_18_184617_create_services_table.php
  2. +2
    -1
      database/migrations/2021_05_19_185302_create_orders_table.php

+ 2
- 0
database/migrations/2021_05_18_184617_create_services_table.php Wyświetl plik

@@ -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');


+ 2
- 1
database/migrations/2021_05_19_185302_create_orders_table.php Wyświetl plik

@@ -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');
});
}


Ładowanie…
Anuluj
Zapisz