You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you tell me how I might do this. I have a backup database that I want to insert records with id/UUID primary key set using eloquent create() method. Basically, I want to export UUID to new database using same model, without generating new UUID
class User extends Model
{
use Uuids;
public $incrementing = false;
protected $fillable = [
'id',
The text was updated successfully, but these errors were encountered:
markaduffy
changed the title
Creating New Record setting Primary UUID
Creating new record manually setting primary UUID
Jan 23, 2020
Can you tell me how I might do this. I have a backup database that I want to insert records with id/UUID primary key set using eloquent create() method. Basically, I want to export UUID to new database using same model, without generating new UUID
The text was updated successfully, but these errors were encountered: