$fillable = new LicenseBilling();
$fillable = $fillable->getFillable();
DB::table('license_billing')->insertUsing(
$fillable, function ($query) use ($fillable) {
$query->select($fillable)
->from('license_billing_old')
->orderBy('license_billing_old.license_billing_id','ASC');
}
);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter