Opened 4 years ago

Last modified 4 years ago

#4486 new enhancement

Schema create script should use upgrade scripts rather than duplicating upgrade SQL

Reported by: tmark Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: database-all Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 24 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Per Stephen while reviewing 4239:

While reorganising the database creation in the tests, it might be worth considering creating a ticket to modernise the database creation in general. In particular, we have dhcpsb_create.mysql which creates the V1 database and updates it to the latest version. But the updates are also in the upgrade_x.x_to_y.y.sh files. It would seem to be more logical to create the database by creating the V1.0 database and then executing all the upgrade scripts in sequence.

Subtickets

Change History (1)

comment:1 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

per team meeting apr 28, move to outstanding. this is a good candidate for Kea 1.2

Note: See TracTickets for help on using tickets.