Skip to content

Commit

Permalink
* Modify update1.1.1.sql.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Jul 14, 2022
1 parent 325d1a5 commit 67c03ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/db/update1.1.1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ALTER TABLE `q_instance` ADD COLUMN `introduction` varchar(500) NOT NULL AFTER `
ALTER TABLE `q_instance` ADD COLUMN `channel` char(20) NOT NULL AFTER `source`;

UPDATE `q_instance` SET `introduction` = `desc` WHERE id>0;
UPDATE `q_instance` SET `channel` = 'stable' WHERE id>0;
2 changes: 1 addition & 1 deletion frontend/module/cne/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ protected function cneServerError()
{
$error = new stdclass;
$error->code = 600;
$error->message = $message ? $message : $this->lang->CNE->serverError;
$error->message = $this->lang->CNE->serverError;
return $error;
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div>
<div style='margin: 20px auto;'>
<p>系统已更新,请登录后台运行升级指令:<code style='padding: 5px; border-radius: 4px; background-color: #ddd;'>q manage upgrade</code></p>
<p>The systemc has been updated, Please run command in console:<code style='padding: 5px; border-radius: 4px; background-color: #ddd;'>q manage upgrade</code></p>
<p>The system has been updated, Please run command in console:<code style='padding: 5px; border-radius: 4px; background-color: #ddd;'>q manage upgrade</code></p>
<div>
</div>
</body>
Expand Down

0 comments on commit 67c03ef

Please sign in to comment.