Files
CRM/database/migrations/2017_05_30_023116_create_money_table.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

27 lines
673 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Migrations\Migration;
class CreateMoneyTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('debts', function ($table) {
$table->increments('id');
$table->integer('account_id');
$table->integer('contact_id');
$table->string('in_debt')->default('no');
$table->string('status')->default('inprogress');
$table->integer('amount');
$table->longText('reason')->nullable();
$table->timestamps();
});
}
}