Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117747062
2020_04_21_100000_create_wallet_settings.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
980 B
Referenced Files
None
Subscribers
None
2020_04_21_100000_create_wallet_settings.php
View Options
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateWalletSettings
extends
Migration
{
/**
* Run the migrations.
*/
public
function
up
()
{
Schema
::
create
(
'wallet_settings'
,
static
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'wallet_id'
);
$table
->
string
(
'key'
);
$table
->
string
(
'value'
);
$table
->
timestamp
(
'created_at'
)->
useCurrent
();
$table
->
timestamp
(
'updated_at'
)->
useCurrent
();
$table
->
foreign
(
'wallet_id'
)->
references
(
'id'
)->
on
(
'wallets'
)->
onDelete
(
'cascade'
);
$table
->
unique
([
'wallet_id'
,
'key'
]);
}
);
}
/**
* Reverse the migrations.
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'wallet_settings'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Apr 4 2026, 12:05 AM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18821619
Default Alt Text
2020_04_21_100000_create_wallet_settings.php (980 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline