aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
Commit message (Collapse)AuthorAgeLines
* Prerequisites (new modules, db, config).Matthew Somerville2016-01-22-0/+1
|
* Remove many uses of mySociety::Config.Matthew Somerville2015-12-02-7/+6
|
* Add "time spent" admin logging.Hakim Cassimally2015-10-06-0/+1
| | | | | | | | | | | | | | | | | | | | | Mechanism is general, but current implementation only used for Zurich. - Zurich: Record time_spent field mysociety/FixMyStreet-Commercial#676 - template changes (including jQuery spinner) - backend changes to save data are made: - in log_edit, if supplied - and time on category change (and arbitrary actions) - Add update_admin_log to all paths for DM, ensuring that it gets called, while resetting the `time_spent` parameter, to make sure that there is never a duplicate record created. - Also quell warning about using DateTime values in query. - Also add (seemingly unrelated) parens to stop misparsing of OK line in questionnaire test now that DT::Format::Pg is used in Zurich cobrand See mysociety/FixMyStreet-Commercial#676
* [Zurich] Response templates for report admin.Hakim Cassimally2015-10-06-0/+1
| | | | | | | This provides a ResponseTemplate model that an admin/staff user can choose from when responding to problems. For mysociety/FixMyStreet-Commercial#671.
* Allow underscore in cobrand name/data in database.Matthew Somerville2015-09-29-0/+8
|
* Move "missing" handling to separate column.Matthew Somerville2015-08-19-0/+1
|
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-0/+1
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Add schema migration check for latest migration.Matthew Somerville2015-08-13-2/+8
|
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-6/+10
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-1/+1
|
* Moderation - update-schema fixed and improvedHakim Cassimally2014-08-14-30/+137
| | | | | | bin/update-schema --commit should now work A downgrade is also provided. Run bin/update-schema --help for details
* Merge remote branch 'origin/sweden-rebase'Matthew Somerville2014-03-11-0/+1
|\ | | | | | | | | | | | | Conflicts: bin/update-schema locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po perllib/FixMyStreet/DB/Result/Body.pm
| * Add `external_url' column to `body' table.Jon Kristensen2014-03-11-0/+1
| |
* | remove action check on admin_logHakim Cassimally2013-12-09-0/+8
| | | | | | | | to allow a wider range of action logging.
* | Do fewer things for a dev installation.Matthew Somerville2013-09-13-3/+4
| | | | | | | | | | | | | | | | | | | | If the development parameter is passed to the install-script, don't install a crontab, don't set up nginx, don't force the repository to a particular version, and don't set up an application server. Also only create a general.yml file if one doesn't already exist, and add some locales that the test suite assumes are present. And run the db schema update script.
* | [Zurich] Add schema migration 0029 to bin/update-schemaChris Mytton2013-09-10-0/+1
|/
* A script to bring a FixMyStreet database up to date.Matthew Somerville2013-02-22-0/+134
It will examine the current database to see at what state it is, and optionally run the newer schema SQL files in order to bring the database up to date. At the 'adding bodies' stage, it will also query MapIt to fill the name column of the new body table.