Changes
Page history
ear-5.0
authored
Sep 02, 2024
by
Oriol Vidal Teruel
Show whitespace changes
Inline
Side-by-side
EAR-Database.md
View page @
33467cc1
...
@@ -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);
```
```
```
```
...
...
...
...