Files
threshold/internal/db/schema/migrations/postgres/10/01_job_migrations.up.sql
T

9 lines
186 B
PL/PgSQL
Raw Normal View History

2021-06-15 15:32:23 -07:00
begin;
alter table job_run
alter column server_id type text;
alter table job_run
add constraint server_id_must_not_be_empty
check(length(trim(server_id)) > 0);
commit;