mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
v5.0.0 update
This commit is contained in:
@ -32,7 +32,7 @@ class CustomFieldFactory extends Factory
|
||||
return clean_slug($item['model_type'], $item['label']);
|
||||
},
|
||||
'type' => $this->faker->randomElement(['Text', 'Textarea', 'Phone', 'URL', 'Number','Dropdown' , 'Switch', 'Date', 'DateTime', 'Time']),
|
||||
'company_id' => User::where('role', 'super admin')->first()->company_id,
|
||||
'company_id' => User::find(1)->companies()->first()->id,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user