X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=migrations%2FREADME.txt;h=0d14ca7c5bc46a32ae21ea8c2bbdc3c6d7eebfbd;hb=f2aa922463ac2d2d7b1de4de4c63116232070f4d;hp=86adddb4aa5fa2276671930e337be9886e737e2e;hpb=f62304dea30e549193712bb442bf2ebcbb2814bc;p=plcapi.git diff --git a/migrations/README.txt b/migrations/README.txt index 86adddb..0d14ca7 100644 --- a/migrations/README.txt +++ b/migrations/README.txt @@ -1,3 +1,13 @@ Store here migration scripts, named --up-any-text.sql -with contiguous indices starting with 001 +-up-.sql + handled as a sql script to be run against planetlab5, or +-up-.sh + which is assumed to be a shell script and is run as is + +Another assumption is that + * nnn-up- script will set subversion number to + * nnn-down script will set subversion number to -1 + +=== +See the migration script in plc.d/db for how this is used +===