1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00
phorge-phorge/scripts
tuomaspelkonen 4f6bac95e9 Schema upgrade script.
Summary:
Created a script the runs all the necessary patches for db schema.
Stores information in the db about the latest patch that was applied.

Test Plan:
Created two test files '024.test.sql' and '023.test.sql' in this order.
'023' creates a database and '024' creates a table in this db. First ran
'./upgrade_schema.php 23' and made sure that patches were applied in order.
Then ran './upgrade_schema.php' to make sure db was up-to-date. Checked
manually from the db that the database and table exists.

Reviewed By: epriestley
Reviewers: epriestley
CC: jungejason, epriestley, tuomaspelkonen
Differential Revision: 115
2011-04-08 13:22:19 -07:00
..
daemon Move 'phd parse-commit' to a dedicated script; allow message parsing tasks to 2011-04-02 13:23:22 -07:00
repository Commit + Herald integration. 2011-04-04 14:13:14 -07:00
search Rought cut of search. 2011-02-14 15:34:20 -08:00
sql Schema upgrade script. 2011-04-08 13:22:19 -07:00
__init_env__.php Commit + Herald integration. 2011-04-04 14:13:14 -07:00
__init_script__.php Commit + Herald integration. 2011-04-04 14:13:14 -07:00
celerity_mapper.php Some herald improvements. 2011-03-22 20:43:19 -07:00