tambah tagujrah,ujrah dan onepercent dlm arrahnbid
This commit is contained in:
@@ -14,15 +14,15 @@ class AddUjrahToSimulasisTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('simulasi', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
|
||||
Schema::table('cawangan_simulasi', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
|
||||
Schema::table('simulasibid', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,15 +34,15 @@ class AddUjrahToSimulasisTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('simulasi', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
|
||||
Schema::table('cawangan_simulasi', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
|
||||
Schema::table('simulasibid', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -14,15 +14,15 @@ class AddUjrahToLelongTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('lelong', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
|
||||
Schema::table('cawangan_lelong', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
|
||||
Schema::table('lelongbid', function (Blueprint $table) {
|
||||
$table->integer('ujrah')->default(0);
|
||||
$table->integer('tagujrah')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,15 +34,15 @@ class AddUjrahToLelongTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('lelong', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
|
||||
Schema::table('cawangan_lelong', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
|
||||
Schema::table('lelongbid', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('tagujrah');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddOnepercentUjrahToLelongbidTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('lelongbid', function (Blueprint $table) {
|
||||
$table->decimal('ujrah', 5, 2);
|
||||
$table->decimal('onepercent', 5, 2);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('lelongbid', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('onepercent');
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddOnepercerntUjrahToSimulasibidTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('simulasibid', function (Blueprint $table) {
|
||||
$table->decimal('ujrah', 5, 2);
|
||||
$table->decimal('onepercent', 5, 2);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('simulasibid', function (Blueprint $table) {
|
||||
$table->dropColumn('ujrah');
|
||||
$table->dropColumn('onepercent');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user