changes to sms packages and option to create user
This commit is contained in:
@@ -11,26 +11,25 @@
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('debt_types', function(Blueprint $table){
|
||||
Schema::create('debt_types', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name',50)->unique();
|
||||
$table->string('description',125)->nullable();
|
||||
$table->string('name', 50)->unique();
|
||||
$table->string('description', 125)->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
|
||||
|
||||
Schema::create('debts', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('reference',125)->nullable();
|
||||
$table->string('invoice_nu',125)->nullable();
|
||||
$table->string('reference', 125)->nullable();
|
||||
$table->string('invoice_nu', 125)->nullable();
|
||||
$table->date('issue_date')->nullable();
|
||||
$table->date('due_date')->nullable();
|
||||
$table->decimal('amount', 11, 4)->nullable();
|
||||
$table->decimal('interest', 11, 8)->nullable();
|
||||
$table->date('interest_start_date')->nullable();
|
||||
$table->string('description',125)->nullable();
|
||||
$table->string('description', 125)->nullable();
|
||||
$table->foreignId('account_id')->references('id')->on('accounts');
|
||||
$table->foreignId('type_id')->references('id')->on('debt_types');
|
||||
$table->unsignedTinyInteger('active')->default(1);
|
||||
|
||||
Reference in New Issue
Block a user