Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Clean up TestData
James Cole68a707861484
diff --git a/app/Support/Migration/TestData.php b/app/Support/Migration/TestData.phpindex 4ea67bbeff..b737989b61 100644--- a/app/Support/Migration/TestData.php+++ b/app/Support/Migration/TestData.php@@ -417,8 +417,7 @@ class TestData]);if ($journal->id) {- $number = (string)round((rand(1500, 2500) / 100), 2);- $amount = $number;//'10';//strval((rand(1500, 2500) / 100));+ $amount = (string)round((rand(1500, 2500) / 100), 2);self::createTransactions($journal, $fromAccount, $toAccount, $amount);$journal->categories()->save($category);$journal->budgets()->save($budget);diff --git a/database/migrations/2014_07_09_204843_create_session_table.php b/database/migrations/2014_07_09_204843_create_session_table.phpindex a5ddae291f..fa39883634 100644--- a/database/migrations/2014_07_09_204843_create_session_table.php+++ b/database/migrations/2014_07_09_204843_create_session_table.php@@ -1,6 +1,7 @@<?phpuse Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;/*** @SuppressWarnings(PHPMD.ShortMethodName)@@ -29,7 +30,7 @@ class CreateSessionTable extends Migrationpublic function up(){Schema::create(- 'sessions', function ($table) {+ 'sessions', function (Blueprint $table) {$table->string('id')->unique();$table->integer('user_id')->nullable();$table->string('ip_address', 45)->nullable();