function tangguh lelong

add function tangguhlelong, migrate table tangguhlelong
This commit is contained in:
nishaMuhd
2022-10-10 16:28:52 +08:00
parent 56583e4510
commit 664151e866
19 changed files with 2041 additions and 92 deletions
@@ -25,6 +25,8 @@ class CreateTangguhlelongTable extends Migration
$table->datetime('ditangguh_pada');
$table->string('nota');
$table->timestamps();
$table->integer('status'); //new added
$table->string('filetype');
// $table->foreign('lelong_id')
// ->references('id')->on('lelong')
@@ -35,6 +37,9 @@ class CreateTangguhlelongTable extends Migration
// ->onDelete('cascade');
});
// once the table is created use a raw query to ALTER it and add the MEDIUMBLOB
DB::statement("ALTER TABLE tangguhlelong ADD filename LONGBLOB");
}
/**