Changeset View
Changeset View
Standalone View
Standalone View
src/database/migrations/2014_10_12_000000_create_users_table.php
Show All 16 Lines | public function up() | ||||
'users', | 'users', | ||||
function (Blueprint $table) { | function (Blueprint $table) { | ||||
$table->bigInteger('id'); | $table->bigInteger('id'); | ||||
$table->string('name')->nullable(); | $table->string('name')->nullable(); | ||||
$table->string('email')->unique(); | $table->string('email')->unique(); | ||||
$table->timestamp('email_verified_at')->nullable(); | $table->timestamp('email_verified_at')->nullable(); | ||||
$table->string('password')->nullable(); | $table->string('password')->nullable(); | ||||
$table->string('password_ldap')->nullable(); | $table->string('password_ldap')->nullable(); | ||||
$table->smallinteger('status'); | |||||
$table->rememberToken(); | $table->rememberToken(); | ||||
$table->timestamps(); | $table->timestamps(); | ||||
$table->primary('id'); | $table->primary('id'); | ||||
} | } | ||||
); | ); | ||||
} | } | ||||
Show All 10 Lines |