diff --git a/app/Support/Migration/TestData.php b/app/Support/Migration/TestData.php index 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.php index 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 @@ string('id')->unique(); $table->integer('user_id')->nullable(); $table->string('ip_address', 45)->nullable();