Available Column Types in Laravel

Command Description $table->id(); Alias of $table->bigIncrements(‘id’). $table->foreignId(‘user_id’); Alias of $table->unsignedBigInteger(‘user_id’). $table->bigIncrements(‘id’); Auto-incrementing UNSIGNED BIGINT (primary key) equivalent column. $table->bigInteger(‘votes’); BIGINT equivalent column. $table->binary(‘data’); BLOB equivalent column. $table->boolean(‘confirmed’); BOOLEAN equivalent column. $table->char(‘name’, 100); CHAR equivalent column with a length. $table->date(‘created_at’); DATE equivalent column. $table->dateTime(‘created_at’, 0); DATETIME equivalent column with precision (total digits). $table->dateTimeTz(‘created_at’, 0); DATETIME (with timezone) equivalent […]

Read More

Complete Laravel installation and API guide

How to install Laravel using composer Create View in Laravel Create model, controller and view in Laravel Step 1: Create model and controller Step 2: Create View in Laravel Step 3: call controller using route and display view Note: changing the RouteServiceProvider.php file in App/Providers/ path by uncommenting the code. protected $namespace = ‘App\Http\Controllers’; Create […]

Read More

how to install ftp server in ubuntu 20.04

Here we will install and configure vsftpd (Very Secure File Transfer Protocol Daemon) on Ubuntu. Install vsftpd Update the package list and dependencies for vsftpd. Then second command download and Install vsftpd. Check the status of vsftpd ● vsftpd.service – vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-04-27 […]

Read More

BMW R 1250 GS bike

BMW R 1250 GS bike launched at Rs. 20.45 lakh

08 Jul 2021: BMW R 1250 GS bike launched at Rs. 20.45 lakh BMW Motorrad India has launched the all-new R 1250 GS motorbike in India. It has been priced starting at Rs. 20.45 lakh and is offered in two variants of R 1250 GS Pro and R 1250 GS Adventure Pro. The duo arrives via the […]

Read More

Developer Setup: Multiconnect on Minikube

Developer Setup: Multiconnect on Minikube This document shows you how to set up a developer machine installation of the WhatsApp Business API client with Multiconnect on Minikube. Before you start any of these set ups, check our list of requirements. To set up a High Availability cluster, follow these steps: Create a biz directory for the setup scripts […]

Read More

Developer Setup: High Availability & Multiconnect

Developer Setup: High Availability & Multiconnect This document shows you how to set up a High Availability cluster on a developer machine. It also provides guidance on how to enable Multiconnect on top of that as well as the changes required for a highly available Multiconnect cluster. For a production setup, follow the relevant instructions […]

Read More