mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add IBAN field.
This commit is contained in:
parent
571165c2bb
commit
4a20eef351
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
/**
|
||||
* Class ChangesForV3451
|
||||
@ -14,11 +15,12 @@ class ChangesForV3451 extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
|
||||
Schema::table(
|
||||
'accounts', function (Blueprint $table) {
|
||||
$table->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();
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
28
database/migrations/2015_07_03_102450_changes_for_v3462.php
Normal file
28
database/migrations/2015_07_03_102450_changes_for_v3462.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class ChangesForV3462 extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
// add IBAN to accounts:
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user