mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-01-05 15:10:55 -05:00
32 lines
636 B
PHP
32 lines
636 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class AddBluevineFields extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::table('accounts', function ($table) {
|
|
$table->enum('bluevine_status', array( 'ignored', 'signed_up' ))->nullable();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::table('accounts', function ($table) {
|
|
$table->dropColumn('bluevine_status');
|
|
});
|
|
}
|
|
}
|