2022-01-24 11:37:42 -05:00
|
|
|
alter table runcommandlogs add column uuid uuid;
|
|
|
|
update runcommandlogs set uuid = gen_random_uuid() where uuid is null;
|
|
|
|
alter table runcommandlogs alter column uuid set not null;
|
|
|
|
alter table runcommandlogs add constraint RunCommandLogs_uuid_unique unique(uuid);
|
2022-01-31 12:56:34 -08:00
|
|
|
create index IndexRunCommandLogsOnBuildID on RunCommandLogs(build_id);
|