invoiceninja/database/migrations/2016_11_03_161149_add_bluevine_fields.php

31 lines
587 B
PHP
Raw Permalink Normal View History

2016-11-03 16:54:33 -04:00
<?php
use Illuminate\Database\Migrations\Migration;
2017-01-30 18:05:31 +02:00
class AddBluevineFields extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('accounts', function ($table) {
2017-01-30 21:40:43 +02:00
$table->enum('bluevine_status', ['ignored', 'signed_up'])->nullable();
2017-01-30 18:05:31 +02:00
});
}
2016-11-03 16:54:33 -04:00
2017-01-30 18:05:31 +02:00
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('accounts', function ($table) {
$table->dropColumn('bluevine_status');
});
}
2016-11-03 16:54:33 -04:00
}