Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793027
2014_10_12_100000_create_password_resets_table.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
543 B
Referenced Files
None
Subscribers
None
2014_10_12_100000_create_password_resets_table.php
View Options
<?php
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
CreatePasswordResetsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'password_resets'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'email'
)->
index
();
$table
->
string
(
'token'
)->
index
();
$table
->
timestamp
(
'created_at'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'password_resets'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Feb 28, 21:39 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2437364
Default Alt Text
2014_10_12_100000_create_password_resets_table.php (543 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment