-
Notifications
You must be signed in to change notification settings - Fork 68
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
Refactor Accounts Realm #50
Changes from 4 commits
8ab116f
a1017d4
691273c
182fb9f
a31e294
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use modw; | ||
|
||
LOCK TABLES `peopleonaccount` WRITE; | ||
ALTER TABLE `peopleonaccount` DISABLE KEYS; | ||
|
||
ALTER TABLE `peopleonaccount` DROP COLUMN `min_activity_time`; | ||
ALTER TABLE `peopleonaccount` DROP COLUMN `min_activity_time_ts`; | ||
ALTER TABLE `peopleonaccount` DROP KEY `aggregation_index`; | ||
ALTER TABLE `peopleonaccount` ADD KEY `aggregation_index` (`resource_id`,`account_id`,`person_id`,`start_time_ts`,`end_time_ts`,`allocationstate_id`); | ||
|
||
ALTER TABLE `peopleonaccount` ENABLE KEYS; | ||
UNLOCK TABLES; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated the schema version to 6.6.0 in |
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.
Is this file being used by ETLv2? It doesn't appear to be used anywhere in Open XDMoD. I tried adding it to the list of ingestors (in the old-style ETL), but get this error:
... which isn't even related to your changes here. This looks like one of those classes that was copy/pasted from the TGcDB ingestors, but we aren't using it since we do not yet have the corresponding data in Open XDMoD.
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.
This isn't used in ETLv2 at all. If we're not using it in Open XDMoD then I'll remove it from the codebase and we can deal with it when we make modifications to support allocations/projects.