-
Notifications
You must be signed in to change notification settings - Fork 6
Cfe04 config meta data v2 #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| ( | ||
| id INT AUTO_INCREMENT PRIMARY KEY, | ||
| cfe_04_id INT NOT NULL, | ||
| name VARCHAR(255) NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think name should be a reference to the same place that capture points it's indexes to, or something because these are essentially the same thing. i think it would be worth of some kind of meeting to sort this out.
| ( | ||
| id INT AUTO_INCREMENT PRIMARY KEY, | ||
| cfe_04_id INT NOT NULL, | ||
| name VARCHAR(255) NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think name should be a reference to the same place that capture points it's sourcetypes to, or something because these are essentially the same thing. i think it would be worth of some kind of meeting to sort this out.
| storage_id INT NOT NULL, | ||
| cfe_type VARCHAR(6) NOT NULL CHECK (cfe_type IN ('cfe_10', 'cfe_23', 'cfe_04')), | ||
| UNIQUE (storage_id, cfe_type), | ||
| UNIQUE (storage_id, sourcetype_id), -- one storage can not have same sourcetype twice can it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, it can not
Draft 2 of cfe 04 config.json metadata tables.
Applied changes suggested internally and in the previous draft PR.
last_chance_index on cfe_04_global stays varchar until better time.