mongodb - 数据库在添加新功能的时候,如果需要改动数据库字段一般如何迁移数据
为情所困
为情所困 2017-04-25 09:01:57
0
1
925

数据库在添加新功能的时候,如果需要改动数据库字段一般如何迁移数据

为情所困
为情所困

reply all(1)
左手右手慢动作

To change the fields in the table, check the syntax of ALTER TABLE and use SQL commands to modify it.
Another method is to create a new table, import the old data into the new table, then delete the old table and rename the new table

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template