Skip to content

Firefly III: a personal finances manager

Migration for 4.7.4

James Cole9fb049991f80
diff --git a/database/migrations/2018_04_29_174524_changes_for_v474.php b/database/migrations/2018_04_29_174524_changes_for_v474.php
new file mode 100644
index 0000000000..9cdac3f720
--- /dev/null
+++ b/database/migrations/2018_04_29_174524_changes_for_v474.php
@@ -0,0 +1,37 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+
+/**
+ * Class ChangesForV474
+ */
+class ChangesForV474 extends Migration
+{
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ //
+ }
+
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::table(
+ 'import_jobs',
+ function (Blueprint $table) {
+ $table->string('provider', 50)->after('file_type')->default('');
+ $table->string('stage', 50)->after('status')->default('');
+ $table->longText('transactions')->after('extended_status');
+ }
+ );
+ }
+}