* Drop wt_private_id from job table * Add server id len constraint on job_run table
10 lines
186 B
PL/PgSQL
10 lines
186 B
PL/PgSQL
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;
|