Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
wolfmenwolf
cachecloud
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
cachecloud
/
cachecloud-web
/
sql
/
update2.0-2.1.sql
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
29 lines (29 loc) · 1.67 KB
main
Breadcrumbs
cachecloud
/
cachecloud-web
/
sql
/
update2.0-2.1.sql
Copy path
Top
File metadata and controls
Code
Blame
29 lines (29 loc) · 1.67 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
create or replace
table
app_import
(
id
bigint
auto_increment
primary key
,
app_id
bigint
null
comment
'
目标应用id
'
,
instance_info
text
null
comment
'
源redis实例信息
'
,
redis_password
varchar
(
200
)
null
comment
'
源redis密码
'
,
status
int
null
comment
'
迁移状态:PREPARE(0, "准备", "应用导入-未开始"),
START(1, "进行中...", "应用导入-开始"),
ERROR(2, "error", "应用导入-出错"),
VERSION_BUILD_START(11, "进行中...", "新建redis版本-进行中"),
VERSION_BUILD_ERROR(12, "error", "新建redis版本-出错"),
VERSION_BUILD_END(20, "成功", "新建redis版本-完成"),
APP_BUILD_INIT(21, "准备就绪", "新建redis应用-准备就绪"),
APP_BUILD_START(22, "进行中...", "新建redis应用-进行中"),
APP_BUILD_ERROR(23, "error", "新建redis应用-出错"),
APP_BUILD_END(30, "成功", "新建redis应用-完成"),
MIGRATE_INIT(31, "准备就绪", "数据迁移-准备就绪"),
MIGRATE_START(32, "进行中...", "数据迁移-进行中"),
MIGRATE_ERROR(33, "error", "数据迁移-出错"),
MIGRATE_END(3, "成功", "应用导入-成功")
'
,
step
int
null
comment
'
导入阶段
'
,
create_time
timestamp
default
CURRENT_TIMESTAMP
not null
,
update_time
timestamp
default
CURRENT_TIMESTAMP
null
,
migrate_id
bigint
null
comment
'
数据迁移id
'
,
mem_size
int
null
comment
'
目标应用内存大小,单位G
'
,
redis_version_name
varchar
(
20
)
null
comment
'
目标应用redis版本,格式:redis-x.x.x
'
,
app_build_task_id
bigint
null
comment
'
目标应用部署任务id
'
,
source_type
int
null
comment
'
源redis类型:7:cluster, 6:sentinel, 5:standalone
'
);
You can’t perform that action at this time.