-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
低版本升级最新版本 sql结构更新问题 #5097
Comments
🤖 你好,@muguan1995!很高兴再次看到你的提问。 根据我找到的相关问题,你可以参考以下步骤来升级你的Apollo数据库结构版本:
USE ApolloPortalDB;
ALTER TABLE `App`
ADD COLUMN `DeletedAt` BIGINT(20) NOT NULL DEFAULT '0' COMMENT 'Delete timestamp based on milliseconds' AFTER `IsDeleted`;
-- 根据脚本重复其他表的操作 请注意,在执行任何升级操作之前,你应该备份你的数据库,以防万一出现问题导致数据丢失。同时,确保SQL脚本与你当前的数据库版本和结构兼容。 从2.1版本到最新的2.2.0版本,Apollo数据库结构的具体变化如下:
这些变化可以在提供的SQL脚本中看到。 参考资料:
Sources
|
找到了,感谢。顺便请问一下 v190-v200/apolloportaldb-v190-v200-after.sql 和普通的apolloportaldb-v190-v200.sql 区别是什么两个都要执行就行了吧 |
可以看一下 2.0.0 的升级步骤 |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
scripts/sql/src 目录下没有2.1之前的升级sql文件了,原来低版本的apollo要如何升级数据库结构版本呢?
The text was updated successfully, but these errors were encountered: