mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
29 lines
556 B
PHP
29 lines
556 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' );
|
|
} );
|
|
}
|
|
}
|