Skip to content
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

修改bk-cmdb.sql,增加几个字段的default值,防止初始化过程中报错 #4

Merged
merged 1 commit into from
Dec 22, 2016

Conversation

zhujianfeng
Copy link
Contributor

在安装初始化系统的时候,会对cc_ApplicationBase表执行插入操作,但是插入语句中不包含LifeCycle等字段,而数据库中LifeCycle字段非NULL又没有默认值,就会导致插入失败。修改后给这几个字段加上default值,防止初始化失败。

在安装初始化系统的时候,会对cc_ApplicationBase表执行插入操作,但是插入语句中不包含LifeCycle等字段,而数据库中LifeCycle字段非NULL又没有默认值,就会导致插入失败。修改后给这几个字段加上default值,防止初始化失败。
@owenlxu owenlxu merged commit 1968548 into TencentBlueKing:master Dec 22, 2016
@owenlxu
Copy link
Contributor

owenlxu commented Dec 22, 2016

thank you !!

@huangmeng4520
Copy link

BusinessDeptName

ProtosL pushed a commit to ProtosL/bk-cmdb that referenced this pull request Sep 11, 2018
wusendong pushed a commit to wusendong/bk-cmdb that referenced this pull request Dec 4, 2018
breezelxp pushed a commit that referenced this pull request Dec 19, 2019
bson decode 解析到合理的格式
breezelxp pushed a commit that referenced this pull request Feb 5, 2020
bson decode 解析到合理的格式

Former-commit-id: bdc8c34
wcy00000000000000 pushed a commit to wcy00000000000000/bk-cmdb that referenced this pull request Mar 20, 2020
优化dal mgo类库使用session的方法
wjyfelen added a commit to wjyfelen/bk-cmdb that referenced this pull request May 27, 2021
parent f3ff332
author wjyfelen <wjyfelen@163.com> 1622105868 +0800
committer wjyfelen <wjyfelen@163.com> 1622106038 +0800
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEqJeYU9ehInTtwoaSl35Fh3pRu5oFAmCvX7YACgkQl35Fh3pR
 u5oEOBAAwMAxLERRySrbLrO4Y8hER1VJA/yns2sSVOCUcoy2iVqECgTVIUCHWPef
 7Sj2XbY2YYyK6SFTjYvBK5XmL+yoPvTo1iSkK8nBwlbzY/LmMeVx523vrKBiqjEu
 HEa/DzG/3DuZRYZF/znYZT1XzKX/1sAEIIuo9ff8nz3aMszRBM8hI3p2YHNyVTN8
 C77+XhphhRBI6dple0rjmWwpsQXEkOlQRXoiDWlw+6d2IyLE2vrCgithVbZujGdX
 dEf2oEywAT/92HgRbOaGEpLGxyNzUj9TkUXRbwKJuJET58jUJpK3dpGUq79AQsRu
 yNON2qNrOi4E2Ig/QCqr9FLf1WR6O2tj7HivHrio7ow0YcrB2j1VYFpDaB8jXpZN
 n+HCewfFpmFhNOTr+jIkL1i+BMvDLPBWab3ui4n5quxeMhnlBDqAJmV2bpY4fIwR
 wOqxgHBiqNz7gzreToQnUKo2nAkm0PpokdcNjbz7vGU8dmO22aBzS1e6+hm62JUu
 eldf3uPCUUMOYR9Pk1xgmnzaeXih/RAtcRcWQJ+Ysp4QX2Xr9PYgNDGoDujpEaAK
 HxvpACX0smdaCg42wWuHT745DrhyNGBtJDC5HeToa+9KvVTwqJaQB8THsNvsf2na
 H168/t7QMHrz55nTrHT3C2X5tkwsTaqGZGp5WEvVtItJoDQzgk8=
 =kmlb
 -----END PGP SIGNATURE-----

# This is a combination of 3 commits.
# This is the 1st commit message:

feature: 3.10.x add host os type unix

# This is the commit message #2:

feature: add system unix

# This is the commit message TencentBlueKing#3:

temp:for  debug

# This is the commit message TencentBlueKing#4:

feature: add host type unix

# This is the commit message TencentBlueKing#5:

增加.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants