📜  postgres 在位置添加列 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:53.856000             🧑  作者: Mango

代码示例1
ALTER TABLE ADD COLUMN will only add the new column at the end, as the last one.
In order to create a new column in another position you need to recreate the 
table and copy the data from the old/current table in this new table.