Conversation
| CREATE TABLE `redundancy_group_state` ( | ||
| `id` binary(20) NOT NULL, | ||
| `redundancy_group_id` binary(20) NOT NULL, | ||
| `failed` enum('n', 'y') NOT NULL, |
There was a problem hiding this comment.
The redundancy_group_state table is missing last_state_change column, to track how long since the redundancy group has failed.
There was a problem hiding this comment.
It seems that now it's there twice. Please refer to my other comment.
There was a problem hiding this comment.
Seems I mixed things up here a bit. dependencies.sql was the initial script and seemingly intended as full upgrade whereas the other files, 2 and 3, are partial upgrades. Though changes made in 3 didn't made it into the full upgrade. :D
There was a problem hiding this comment.
For my testing, I have added the environment ID as environment_id BINARY(20) NOT NULL to most tables.
| CREATE TABLE `redundancy_group_state` ( | ||
| `id` binary(20) NOT NULL, | ||
| `redundancy_group_id` binary(20) NOT NULL, | ||
| `failed` enum('n', 'y') NOT NULL, |
There was a problem hiding this comment.
It seems that now it's there twice. Please refer to my other comment.
…and merge dependencies3.sql into it.
|
I've cleaned it up. Also, I've added |
|
This is now part of #889 which supersedes this PR. |
As discussed in #347.
Todo: