Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed the build by adding new migrations for each step.
James Cole51ae13092279
diff --git a/database/migrations/2015_04_26_054507_changes_for_v3310.php b/database/migrations/2015_04_26_054507_changes_for_v3310.phpindex ee2b5a4cfe..1e17fda3ef 100644--- a/database/migrations/2015_04_26_054507_changes_for_v3310.php+++ b/database/migrations/2015_04_26_054507_changes_for_v3310.php@@ -33,18 +33,6 @@ class ChangesForV3310 extends Migration});- Schema::table(- 'transaction_groups', function (Blueprint $table) {-- // drop column "relation"- $table->string('relation', 50);- }- );- // make new column "relation"-- // set all current entries to be "balance"- DB::table('transaction_groups')->update(['relation' => 'balance']);-/** New table!*/@@ -62,7 +50,6 @@ class ChangesForV3310 extends Migration$table->decimal('longitude', 18, 12)->nullable();$table->smallInteger('zoomLevel', false, true)->nullable();-// connect reminders to users$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');}diff --git a/database/migrations/2015_04_28_075215_changes_for_v3310a.php b/database/migrations/2015_04_28_075215_changes_for_v3310a.phpnew file mode 100644index 0000000000..9c0c1df3d6--- /dev/null+++ b/database/migrations/2015_04_28_075215_changes_for_v3310a.php@@ -0,0 +1,40 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;++/**+ * Class ChangesForV3310a+ */+class ChangesForV3310a extends Migration+{++ /**+ * Reverse the migrations.+ *+ * @return void+ */+ public function down()+ {+ //+ }++ /**+ * Run the migrations.+ *+ * @return void+ */+ public function up()+ {+ Schema::table(+ 'transaction_groups', function (Blueprint $table) {++ // new column, relation.+ $table->string('relation', 50)->nullable();+ }+ );+ // make new column "relation"++ }++}diff --git a/database/migrations/2015_04_28_075317_changes_for_v3310b.php b/database/migrations/2015_04_28_075317_changes_for_v3310b.phpnew file mode 100644index 0000000000..5ea3fcfb13--- /dev/null+++ b/database/migrations/2015_04_28_075317_changes_for_v3310b.php@@ -0,0 +1,32 @@+<?php++use Illuminate\Database\Schema\Blueprint;+use Illuminate\Database\Migrations\Migration;++/**+ * Class ChangesForV3310b+ */+class ChangesForV3310b extends Migration {++ /**+ * Run the migrations.+ *+ * @return void+ */+ public function up()+ {+ // set all current entries to be "balance"+ DB::table('transaction_groups')->update(['relation' => 'balance']);+ }++ /**+ * Reverse the migrations.+ *+ * @return void+ */+ public function down()+ {+ //+ }++}