From 854368a8f3f19ea0f67e29b4151cf856a15fb859 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 3 Jul 2015 12:27:49 +0200 Subject: [PATCH] Add IBAN field. --- .../2015_06_23_050233_changes_for_v3451.php | 16 +++++++---- .../2015_07_03_102450_changes_for_v3462.php | 28 +++++++++++++++++++ 2 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 database/migrations/2015_07_03_102450_changes_for_v3462.php diff --git a/database/migrations/2015_06_23_050233_changes_for_v3451.php b/database/migrations/2015_06_23_050233_changes_for_v3451.php index 7c2ee2ccaa..72c6f799f2 100644 --- a/database/migrations/2015_06_23_050233_changes_for_v3451.php +++ b/database/migrations/2015_06_23_050233_changes_for_v3451.php @@ -1,6 +1,7 @@ dropColumn('iban'); + } + ); } - //$table->smallInteger('reminder_skip')->unsigned(); - //$table->boolean('remind_me'); - /** * Run the migrations. * @@ -27,7 +29,11 @@ class ChangesForV3451 extends Migration */ public function up() { - + Schema::table( + 'accounts', function (Blueprint $table) { + $table->string('iban', 38)->nullable(); + } + ); } } diff --git a/database/migrations/2015_07_03_102450_changes_for_v3462.php b/database/migrations/2015_07_03_102450_changes_for_v3462.php new file mode 100644 index 0000000000..7dd6e4b833 --- /dev/null +++ b/database/migrations/2015_07_03_102450_changes_for_v3462.php @@ -0,0 +1,28 @@ +