Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Some code used for #164
James Cole2da33bae4300
diff --git a/database/migrations/2016_02_04_144117_changes_for_v380.php b/database/migrations/2016_02_04_144117_changes_for_v380.phpindex 5c027deded..e6fe614ee7 100644--- a/database/migrations/2016_02_04_144117_changes_for_v380.php+++ b/database/migrations/2016_02_04_144117_changes_for_v380.php@@ -16,7 +16,7 @@ class ChangesForV380 extends Migrationpublic function down(){Schema::drop('export_jobs');-+ Schema::drop('journal_meta');}/**@@ -42,7 +42,8 @@ class ChangesForV380 extends Migration);// new table for transaction journal meta, "journal_meta"- Schema::create('journal_meta', function(Blueprint $table) {+ Schema::create(+ 'journal_meta', function (Blueprint $table) {$table->increments('id');$table->timestamps();$table->integer('transaction_journal_id')->unsigned();@@ -53,6 +54,7 @@ class ChangesForV380 extends Migration// link to transaction journal$table->foreign('transaction_journal_id')->references('id')->on('transaction_journals')->onDelete('cascade');- });+ }+ );}}