mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
added POST,GET,PUT,DELETE controller
This commit is contained in:
+7
-5
@@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateDeliveryInfosTable extends Migration
|
||||
class CreateDeliveryinfosTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -13,9 +13,10 @@ class CreateDeliveryInfosTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('delivery_infos', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('branch');
|
||||
Schema::create('deliveryinfos', function (Blueprint $table) {
|
||||
|
||||
$table->increments('id');
|
||||
$table->string('branch');
|
||||
$table->string('deli_info');
|
||||
$table->string('address');
|
||||
$table->string('city');
|
||||
@@ -25,6 +26,7 @@ class CreateDeliveryInfosTable extends Migration
|
||||
$table->string('contact_person');
|
||||
$table->integer('contact_person_no');
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@@ -35,6 +37,6 @@ class CreateDeliveryInfosTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('delivery_infos');
|
||||
Schema::dropIfExists('deliveryinfos');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user