Refactor migration files for code style consistency
Updated migration files to use consistent PSR-12 code style, including brace placement, indentation, and spacing. Removed closing PHP tags and standardized 'or' in exit statements. No functional changes were made.
这个提交包含在:
父节点
de29c21805
当前提交
1ebb3a9942
共有 4 个文件被更改,包括 51 次插入 和 50 次删除
|
|
@ -1,6 +1,7 @@
|
||||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
class Migration_add_lotw_credentials extends CI_Migration {
|
class Migration_add_lotw_credentials extends CI_Migration
|
||||||
|
{
|
||||||
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
|
@ -18,4 +19,3 @@ class Migration_add_lotw_credentials extends CI_Migration {
|
||||||
$this->dbforge->drop_column('users', 'user_lotw_password');
|
$this->dbforge->drop_column('users', 'user_lotw_password');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
class Migration_add_config_table extends CI_Migration {
|
class Migration_add_config_table extends CI_Migration
|
||||||
|
{
|
||||||
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
|
@ -38,4 +39,3 @@ class Migration_add_config_table extends CI_Migration {
|
||||||
$this->dbforge->drop_table('config');
|
$this->dbforge->drop_table('config');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
class Migration_add_lotw_login_url extends CI_Migration {
|
class Migration_add_lotw_login_url extends CI_Migration
|
||||||
|
{
|
||||||
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
|
@ -18,4 +19,3 @@ class Migration_add_lotw_login_url extends CI_Migration {
|
||||||
$this->dbforge->drop_column('config', 'lotw_login_url');
|
$this->dbforge->drop_column('config', 'lotw_login_url');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
class Migration_add_workable_dxcc_indexes extends CI_Migration {
|
class Migration_add_workable_dxcc_indexes extends CI_Migration
|
||||||
|
{
|
||||||
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用