remove PLC.Debug.log, use PLC.Logger.logger instead
[plcapi.git] / migrations / README.txt
index f273076..0d14ca7 100644 (file)
@@ -1,8 +1,13 @@
 Store here migration scripts, named
-<nnn>-up-any-text.<ext>
-with contiguous indices starting with 001
+<nnn>-up-<any-text>.sql
+       handled as a sql script to be run against planetlab5, or
+<nnn>-up-<any-text>.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>
+ * nnn-down  script will set subversion number to <nnn>-1
+===
+See the migration script in plc.d/db for how this is used 
+===