Page MenuHomeDevCentral

2014_10_12_000000_create_users_table.php
No OneTemporary

2014_10_12_000000_create_users_table.php

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('username');
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Apr 16, 05:21 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3626556
Default Alt Text
2014_10_12_000000_create_users_table.php (616 B)

Event Timeline