mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
add ninja_portal_url to company_user transformer
This commit is contained in:
parent
c367ea60ae
commit
86be7c6690
@ -51,7 +51,7 @@ class CompanyUserTransformer extends EntityTransformer
|
|||||||
'archived_at' => (int) $company_user->deleted_at,
|
'archived_at' => (int) $company_user->deleted_at,
|
||||||
'created_at' => (int) $company_user->created_at,
|
'created_at' => (int) $company_user->created_at,
|
||||||
'permissions_updated_at' => (int) $company_user->permissions_updated_at,
|
'permissions_updated_at' => (int) $company_user->permissions_updated_at,
|
||||||
//'number_years_active' => (int) $company_user->number_years_active,
|
'ninja_portal_url' => (string) $company_user->ninja_portal_url,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class AddNinjaPortalColumnToAccountsTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('accounts', function (Blueprint $table) {
|
Schema::table('company_user', function (Blueprint $table) {
|
||||||
$table->text('ninja_portal_url')->default('');
|
$table->text('ninja_portal_url')->default('');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user