Store here migration scripts, named
-<nnn>-up-any-text.sql
+<nnn>-up-any-text.<ext>
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
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: setup.py,v 1.7 2007/01/30 11:37:02 thierry Exp $
+# $Id: setup.py,v 1.8 2007/01/30 11:48:14 thierry Exp $
#
from distutils.core import setup
scripts = ['plcsh', 'Server.py', 'Test.py'],
data_files = [('', ['planetlab4.sql']),
('php', ['php/plc_api.php']),
- ('migrations', ['migrations/README.txt'] + glob('migrations/[0-9][0-9][0-9]*.sql')),
+ ('migrations', ['migrations/README.txt'] + glob('migrations/[0-9][0-9][0-9]*')),
])