function tangguh lelong
add function tangguhlelong, migrate table tangguhlelong
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user