api chat, send summary, health sertificate, callback duitku
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?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::table('livechats', function (Blueprint $table) {
|
||||
$table->integer('status')->after('end_date')->comment('1=Request, 2=Accept, 3=Decline, 4=Waiting Payment, 5=Success Payment, 6 = End Chat');
|
||||
$table->string('subject')->after('status')->nullable();
|
||||
$table->string('object')->after('subject')->nullable();
|
||||
$table->string('assessment')->after('object')->nullable();
|
||||
$table->text('plan')->after('assessment')->nullable();
|
||||
$table->date('health_certificate_start')->after('end_date')->nullable();
|
||||
$table->date('health_certificate_end')->after('health_certificate_start')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('livechats', function (Blueprint $table) {
|
||||
$table->dropColumn('status');
|
||||
$table->dropColumn('subject');
|
||||
$table->dropColumn('object');
|
||||
$table->dropColumn('assessment');
|
||||
$table->dropColumn('plan');
|
||||
$table->dropColumn('health_certificate_start');
|
||||
$table->dropColumn('health_certificate_end');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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::table('prescription_items', function (Blueprint $table) {
|
||||
$table->string('direction')->after('signa')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('prescription_items', function (Blueprint $table) {
|
||||
$table->dropColumn('direction');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user