[Koha-bugs] [Bug 26947] kohastructure.sql should be updated for each release
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 4 15:04:10 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26947
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114021|0 |1
is obsolete| |
Attachment #114022|0 |1
is obsolete| |
Attachment #114023|0 |1
is obsolete| |
Attachment #114024|0 |1
is obsolete| |
Attachment #114025|0 |1
is obsolete| |
--- Comment #35 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 114195
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114195&action=edit
Bug 26947: Add scheam-only option to koha-dump
This patch adds a new --schema-only optoin to the koha-dump script.
This can be used to generate a new kohastructure.sql file during the release,
and later to
compare the DB structure of a koha instance to the kohastructure.sql file
shipped with a version
to identify any missing constraints or other db structure issues
To test:
1 - debian/scripts/koha-dump kohadev
2 - Confirm db and configs are dumped correctly
3 - Apply patch
4 - debian/scripts/koha-dump --help
5 - Confirm new option is listed and makes sense
6 - debian/scripts/koha-dump --schema-only kohadev
7 - Confirm only schema is dumped and is not zipped
8 - debian/scripts/koha-dump kohadev
9 - Confirm entire db is dumped as before
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list