1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

add ninja_portal_url to company_user transformer

This commit is contained in:
David Bomba 2021-06-11 14:16:21 +10:00
parent c367ea60ae
commit 86be7c6690
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class CompanyUserTransformer extends EntityTransformer
'archived_at' => (int) $company_user->deleted_at,
'created_at' => (int) $company_user->created_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,
];
}

View File

@ -13,7 +13,7 @@ class AddNinjaPortalColumnToAccountsTable extends Migration
*/
public function up()
{
Schema::table('accounts', function (Blueprint $table) {
Schema::table('company_user', function (Blueprint $table) {
$table->text('ninja_portal_url')->default('');
});
}