ALTER TYPE .. 用于枚举更改
适用于 ✅ 开源版 ✅ 专业版 ✅ 企业版
某些修改是枚举类型特有的,例如在 PostgreSQL 中。这些包括
// Adding an enum value to an existing type create.alterType("type").addValue("new_enum_value").execute(); // Renaming an enum value of an existing type to a new value create.alterType("type").renameValue("old_enum_value").to("new_enum_value").execute(); // Move an enum type to a new schema create.alterType("type").setSchema("new_schema").execute();
反馈
您对此页面有任何反馈吗? 我们很乐意听到您的反馈!