]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
Schema: Support database schema updates
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 10 Dec 2015 13:26:00 +0000 (13:26 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 11 Dec 2015 17:02:44 +0000 (17:02 +0000)
commit85bcdfa3d8728eaf038384c6e22a479829ecef7f
tree43a3084b3484c27e1f89d17c5e231ea469e41412
parent3184924528a0944680ca4e3855f0193622e1a925
Schema: Support database schema updates

See schema/README.schema, introduced in this patch, for the design.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v4: Add comment about test db safety catch.

v3: Fix spurious message from ./mg-schema-updates apply.
    Fix grammar error in README.updates.

v2: Slight increase schema update name length format.
    Docs fixes:
    Change erroneous `three' to `four'.
    Change `state' to `status' throghout.
    Explain scope of <status>.
    Sort out (and renumber) `Update order for Populate-then-rely'.
    Sort out "Statuses" explanations.
    Encourage use of DML update, rather than ad-hoc scripts,
     for populating new columns.
Osstest/Executive.pm
mg-schema-create
mg-schema-test-database
mg-schema-update [new file with mode: 0755]
schema/README.updates [new file with mode: 0644]
schema/schema-updates.sql [new file with mode: 0644]