for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateCmsUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cms_users', function(Blueprint $table)
$table->increments('id');
$table->string('name', 50)->nullable();
$table->string('photo')->nullable();
$table->string('email', 50)->nullable();
$table->string('password')->nullable();
$table->integer('id_cms_privileges')->nullable();
$table->timestamps();
$table->string('status', 50)->nullable();
});
}
* Reverse the migrations.
public function down()
Schema::drop('cms_users');