Skip to content
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

Fixes #4871: create sql script for migration from int to bigint for the reports tables #517

Conversation

ncharles
Copy link
Member

...reports tables

BEGIN;

ALTER TABLE archivedruddersysevents RENAME TO archivedruddersysevents_old;
DROP INDEX executionTimeStamp_archived_idx;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this index is not kept for the "_old" table ? Not needed anymore ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why it is not created back on the new table ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not needed anymore on the old table; but it should be created back; it's n error

@fanf fanf changed the title Fixes #4871: create sql script for migration from int to bigint for the ... Fixes #4871: create sql script for migration from int to bigint for the reports tables May 30, 2014
@ncharles
Copy link
Member Author

PR Updated !

fanf added a commit that referenced this pull request May 30, 2014
…_script

Fixes #4871: create sql script for migration from int to bigint for the reports tables
@fanf fanf merged commit 3b7ed63 into Normation:branches/rudder/2.10 May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants