Project

General

Profile

Actions

User story #3041

closed

Update the packaging to modify the database for group serialization

Added by Nicolas CHARLES over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Pull request https://github.com/Normation/rudder/pull/19 adds full serialization of group, but it need a database change when upgrading from previous version of Rudder

The table to add is

CREATE TABLE GroupsNodesJoin (
groupPkeyId integer, -- really the id of the table Groups
nodeId text NOT NULL CHECK (nodeid <> ''),
PRIMARY KEY(groupPkeyId, nodeId)
);

There even is a unit script for adding this table ( dbMigration-2.4-2.5-group-serialisation.sql )


Related issues 1 (0 open1 closed)

Blocked by Rudder - Architecture #3034: Add group serializationReleasedFrançois ARMAND2012-11-27Actions
Actions

Also available in: Atom PDF