X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=migrations%2FREADME.txt;h=0d14ca7c5bc46a32ae21ea8c2bbdc3c6d7eebfbd;hb=e70e20fdbececafef842ec7b330fd48db42e614e;hp=f2730760f42e9f3b56dcc7cc52ccdf4b1b1be71c;hpb=747a8d7888635e6aa340e856057c4614e01da168;p=plcapi.git diff --git a/migrations/README.txt b/migrations/README.txt index f273076..0d14ca7 100644 --- a/migrations/README.txt +++ b/migrations/README.txt @@ -1,8 +1,13 @@ Store here migration scripts, named --up-any-text. -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 -if the extension is .sql it is ran on the planetlab5 database -otherwise it is run as is - -See myplc/plc.d/db for how this is used +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 +===