You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
We're using the Mysql backend to puppet dashboard.
We recently hit the problem that column "id" in the table resource_statuses was an "int" and not a "bigint" so we ran out of ids to use.
Please could this be fixed. ie. when the table is created in future releases and as a recommendation pre updated. Here's the steps we took to resolve it:
mysql> alter table resource_events drop foreign key fk_resource_events_resource_status_id;
mysql> ALTER TABLE resource_statuses MODIFY COLUMN id BIGINT;
…… long wait ……
mysql> ALTER TABLE resource_events MODIFY COLUMN resource_status_id BIGINT;
mysql> alter table resource_events add CONSTRAINT fk_resource_events_resource_status_id FOREIGN KEY (resource_status_id) REFERENCES resource_statuses (id) ON DELETE CASCADE;
mysql> ALTER TABLE resource_statuses MODIFY COLUMN id BIGINT NOT NULL AUTO_INCREMENT;
The text was updated successfully, but these errors were encountered:
Hi,
We're using the Mysql backend to puppet dashboard.
We recently hit the problem that column "id" in the table resource_statuses was an "int" and not a "bigint" so we ran out of ids to use.
Please could this be fixed. ie. when the table is created in future releases and as a recommendation pre updated. Here's the steps we took to resolve it:
mysql> alter table resource_events drop foreign key fk_resource_events_resource_status_id;
mysql> ALTER TABLE resource_statuses MODIFY COLUMN id BIGINT;
…… long wait ……
mysql> ALTER TABLE resource_events MODIFY COLUMN resource_status_id BIGINT;
mysql> alter table resource_events add CONSTRAINT
fk_resource_events_resource_status_id
FOREIGN KEY (resource_status_id
) REFERENCESresource_statuses
(id
) ON DELETE CASCADE;mysql> ALTER TABLE resource_statuses MODIFY COLUMN id BIGINT NOT NULL AUTO_INCREMENT;
The text was updated successfully, but these errors were encountered: