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.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มี.ค. 25
|
6156 | ||
|
0
พ.ย. 21
|
2433 | ||
|
0
พ.ค. 18
|
2475 | ||
How to: Customize field validation
แก้ไขแล้ว
|
|
2
ก.ค. 17
|
17470 | |
|
0
พ.ค. 16
|
4329 |