mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
fixes for tests
This commit is contained in:
parent
ca99a66390
commit
77ecca3035
@ -43,6 +43,7 @@ class CompanyGateway extends BaseModel
|
||||
'custom_value2',
|
||||
'custom_value3',
|
||||
'custom_value4',
|
||||
'token_billing',
|
||||
];
|
||||
|
||||
public static $credit_cards = [
|
||||
|
@ -26,6 +26,7 @@ class Document extends BaseModel
|
||||
*/
|
||||
protected $fillable = [
|
||||
'is_default',
|
||||
'is_public',
|
||||
];
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ class AddIsPublicToDocumentsTable extends Migration
|
||||
});
|
||||
|
||||
Schema::table('company_gateways', function (Blueprint $table) {
|
||||
$table->string('token_billing')->default('off');
|
||||
$table->enum('token_billing', ['off', 'always','optin','optout'])->default('off');
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user