From the production DB I need to change a field from int to char.
When I tried in local I lost all the data which is stored in the field.
What is the solution?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
From the production DB I need to change a field from int to char.
When I tried in local I lost all the data which is stored in the field.
What is the solution?
Better you create a new char field and copy the value of int field to new char field. You can use update query as well.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 25
|
4455 | ||
|
0
thg 11 21
|
1993 | ||
|
0
thg 5 18
|
2176 | ||
How to: Customize field validation
Đã xử lý
|
|
2
thg 7 17
|
16761 | |
|
0
thg 5 16
|
3779 |