CasperSecurity
<?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::create('tds_section_rates', function (Blueprint $table) {
$table->id();
$table->foreignId('tds_section_id')->constrained('tds_sections');
$table->year('tds_financial_year')->nullable();
$table->decimal('tds_individual_rate',10,2)->nullable();
$table->decimal('tds_company_rate',10,2)->nullable();
$table->decimal('tds_nopan_rate',10,2)->nullable();
$table->decimal('tds_cutoff_amount',10,2)->nullable();
$table->tinyInteger('status')->default(1);
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tds_section_rates');
}
};