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.
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
3月 25
|
6196 | ||
|
0
11月 21
|
2447 | ||
|
0
5月 18
|
2480 | ||
|
2
7月 17
|
17487 | ||
|
0
5月 16
|
4346 |