Laravel 9: How to Add a New Column to an Existing Table in a Migration
Updated 1st October 2023
Laravel has a number of features designed to make developing web applications easier and faster. Migrations in Laravel allows us to manage the structure of our databases. In this post, you will learn how to add a new column to an existing table in a migration. Create a new migration file First, we need to
Destructuring in JavaScript
Updated 16th August 2022
Introduced in ES6, Destructuring in JavaScript is a way to unpack values from arrays, or properties from objects, into distinct variables. What is a use-case of Destructuring in JavaScript? Until ES6, if we wanted to extract data from an array we would have to do something similar to: let message = ; let greeting
What are next-gen image formats?
Updated 17th March 2022
Google Page Insights is a useful tool used to report on the performance of webpages on both mobile and desktop devices and provide suggestions on how the page can be improved. A common suggestion many websites are given is ‘Serve images in next-gen formats’, but what are next-gen image formats? Next-gen image formats provide superior
0 Comment