ear-5.0 authored by Oriol Vidal Teruel's avatar Oriol Vidal Teruel
...@@ -76,13 +76,18 @@ Additionally, if EAR was compiled in a system with GPUs (or with the GPU flag ma ...@@ -76,13 +76,18 @@ Additionally, if EAR was compiled in a system with GPUs (or with the GPU flag ma
## Updating from previous versions ## Updating from previous versions
### From EAR 4.3 to 4.4 ### From EAR 4.3 to 5.0
For better internal consistency, Jobs' id field was renamed:
```
ALTER TABLE Jobs CHANGE id job_id INT UNSIGNED;
```
To add support for workflows, a new field was added to several tables to allow their accounting: To add support for workflows, a new field was added to several tables to allow their accounting:
``` ```
ALTER TABLE Jobs ADD COLUMN local_id INT UNSIGNED NOT NULL AFTER step_id; ALTER TABLE Jobs ADD COLUMN local_id INT UNSIGNED NOT NULL AFTER step_id;
ALTER TABLE Jobs DROP PRIMARY KEY, ADD PRIMARY KEY (job_id, step_id, local_id); ALTER TABLE Jobs DROP PRIMARY KEY, ADD PRIMARY KEY (id, step_id, local_id);
``` ```
``` ```
... ...
......