12 lines
360 B
PL/PgSQL
12 lines
360 B
PL/PgSQL
BEGIN;
|
|
|
|
ALTER TABLE interviewees ADD COLUMN IF NOT EXISTS best_email text;
|
|
ALTER TABLE interviewees ADD COLUMN IF NOT EXISTS best_phone text;
|
|
ALTER TABLE interviewees ADD COLUMN IF NOT EXISTS best_contacts_computed_at timestamptz;
|
|
|
|
INSERT INTO schema_migrations(version)
|
|
VALUES ('0004_add_interviewee_best_contacts')
|
|
ON CONFLICT (version) DO NOTHING;
|
|
|
|
COMMIT;
|