git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for executable migration scripts
[plcapi.git]
/
migrations
/
README.txt
diff --git
a/migrations/README.txt
b/migrations/README.txt
index
86adddb
..
e8570bf
100644
(file)
--- a/
migrations/README.txt
+++ b/
migrations/README.txt
@@
-1,3
+1,8
@@
Store here migration scripts, named
Store here migration scripts, named
-<nnn>-up-any-text.
sql
+<nnn>-up-any-text.
<ext>
with contiguous indices starting with 001
with contiguous indices starting with 001
+
+if the extension is .sql it is ran on the planetlab4 database
+otherwise it is run as is
+
+See myplc/plc.d/db for how this is used