Command Description $table->bigIncrements(‘id’); Incrementing ID (primary key) using a “UNSIGNED BIG INTEGER” equivalent. $table->bigInteger(‘votes’); BIGINT equivalent for the database. $table->binary(‘data’); BLOB equivalent for the database. $table->boolean(‘confirmed’); BOOLEAN equivalent for the database. $table->char(‘name’, 4); CHAR equivalent with a length. $table->date(‘created_at’); DATE equivalent for the database. $table->dateTime(‘created_at’); DATETIME equivalent for the database. $table->dateTimeTz(‘created_at’); DATETIME (with timezone) equivalent… Continue reading Laravel Database Column Types
Category: Laravel
Frequently Used Laravel 5.2 Terminal Commands
Here I’m going to keep a list of my own frequently used Laravel 5.2 terminal commands. Every time I need to use one of these commands I end up googling and looking at several different sites to find the right command, and some are outdated. Here’s the list. Use .htaccess to point http server root… Continue reading Frequently Used Laravel 5.2 Terminal Commands