rainbond icon indicating copy to clipboard operation
rainbond copied to clipboard

企业名填错了有什么方法修改

Open 0haha opened this issue 3 years ago • 3 comments

【需求描述】新搭建rainbond并且已经管控了集群了,发现企业名填错了,有没有什么办法修改企业名称?

0haha avatar Jul 25 '22 02:07 0haha

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Enterprise name is wrong, what is the way to modify

[Description of Requirements] Rainbond is newly built and the cluster has been controlled. It is found that the company name is wrong. Is there any way to modify the company name?

Issues-translate-bot avatar Jul 25 '22 02:07 Issues-translate-bot

  1. 如果你是安装单机版,没指定外部数据库的情况下,默认使用的是 sqlite,你需要找到 sqlite 的文件,默认在 ~/rainbonddata/db.sqlite3 ,连接上,执行 sql
update tenant_enterprise set enterprise_alias='xxx' where id=1;
  1. 如果指定了外部数据库,或使用 helm 安装。那么进入数据库中,执行
use console
update tenant_enterprise set enterprise_alias='xxx' where id=1;

yangkaa avatar Jul 25 '22 02:07 yangkaa

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Modify console database, enterprise_alias field in table tenant_enterprise

Issues-translate-bot avatar Jul 25 '22 02:07 Issues-translate-bot