Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); use Migrations\AbstractMigration; class V350ConvertIdFiel..
Decoded Output download
<?php
declare(strict_types=1);
use Migrations\AbstractMigration;
class V350ConvertIdFieldsToUuidFields extends AbstractMigration
{
/**
* Up Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
* @return void
*/
public function up()
{
$this->table('permissions_history')
->changeColumn('aro_foreign_key', 'uuid', [
'default' => null,
'limit' => null,
'null' => false,
'encoding' => 'ascii',
'collation' => 'ascii_general_ci'
])
->save();
}
/**
* Down Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
* @return void
*/
public function down()
{
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
use Migrations\AbstractMigration;
class V350ConvertIdFieldsToUuidFields extends AbstractMigration
{
/**
* Up Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
* @return void
*/
public function up()
{
$this->table('permissions_history')
->changeColumn('aro_foreign_key', 'uuid', [
'default' => null,
'limit' => null,
'null' => false,
'encoding' => 'ascii',
'collation' => 'ascii_general_ci'
])
->save();
}
/**
* Down Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
* @return void
*/
public function down()
{
}
}
Function Calls
None |
Stats
MD5 | 544c923adcb677954de7352513649302 |
Eval Count | 0 |
Decode Time | 97 ms |