6 行
280 B
SQL
6 行
280 B
SQL
-- Enterprise WeChat directory exports may omit a member phone number.
|
|
-- PostgreSQL unique constraints continue to reject duplicate non-null phones
|
|
-- while allowing multiple employees to remain temporarily unfilled.
|
|
ALTER TABLE "employees"
|
|
ALTER COLUMN "phone" DROP NOT NULL;
|