Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F10703322
2019_09_23_110000_create_signupcodes_table.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
705 B
Referenced Files
None
Subscribers
None
2019_09_23_110000_create_signupcodes_table.php
View Options
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
// phpcs:ignore
class
CreateSignupCodesTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'signup_codes'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'code'
,
32
);
$table
->
string
(
'short_code'
,
8
);
$table
->
text
(
'data'
);
$table
->
timestamp
(
'expires_at'
);
$table
->
primary
(
'code'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'signup_codes'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Sep 7, 11:12 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1287911
Default Alt Text
2019_09_23_110000_create_signupcodes_table.php (705 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment