https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26947

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114195|0                           |1
        is obsolete|                            |
 Attachment #114196|0                           |1
        is obsolete|                            |
 Attachment #114197|0                           |1
        is obsolete|                            |
 Attachment #114198|0                           |1
        is obsolete|                            |
 Attachment #114199|0                           |1
        is obsolete|                            |
 Attachment #114201|0                           |1
        is obsolete|                            |

--- Comment #45 from Jonathan Druart <[email protected]> 
---
Created attachment 115065
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115065&action=edit
Bug 26947: Add schema-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 <[email protected]>
Signed-off-by: Victor Grousset/tuxayo <[email protected]>

Signed-off-by: Kyle M Hall <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to