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:
parent
c367ea60ae
commit
86be7c6690
@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -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('');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user