-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99a68ea
commit 4bb1087
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/migrations/m240607_172718_alter_table__cms_callcheck_message.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* @author Semenov Alexander <[email protected]> | ||
* @link http://skeeks.com/ | ||
* @copyright 2010 SkeekS (СкикС) | ||
* @date 15.07.2015 | ||
*/ | ||
use yii\db\Schema; | ||
use yii\db\Migration; | ||
|
||
class m240607_172718_alter_table__cms_callcheck_message extends Migration | ||
{ | ||
public function safeUp() | ||
{ | ||
//$tableName = '{{%cms_session}}'; | ||
$tableName = 'cms_callcheck_message'; | ||
$this->alterColumn($tableName, "user_ip", $this->string(255)); | ||
} | ||
|
||
public function safeDown() | ||
{ | ||
$this->dropTable("{{%cms_callcheck_message}}"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters