View | Details | Raw Unified | Return to bug 32334
Collapse All | Expand All

(-)a/misc/maintenance/sync_db_comments.pl (-5 / +4 lines)
Lines 87-105 misc/maintenance/sync_db_comments.pl Link Here
87
87
88
    Some examples:
88
    Some examples:
89
89
90
    misc/maintance/sync_db_comments.pl -help
90
    misc/maintenance/sync_db_comments.pl -help
91
    Usage statement.
91
    Usage statement.
92
92
93
    misc/maintance/sync_db_comments.pl -clear -commit -verbose
93
    misc/maintenance/sync_db_comments.pl -clear -commit -verbose
94
    Clear all column comments in database.
94
    Clear all column comments in database.
95
    The verbose flag shows all issued ALTER TABLE statements.
95
    The verbose flag shows all issued ALTER TABLE statements.
96
96
97
    misc/maintance/sync_db_comments.pl -reset -commit -database mydb -table items -schema newstructure.sql
97
    misc/maintenance/sync_db_comments.pl -reset -commit -database mydb -table items -schema newstructure.sql
98
    Only resets comments in items table.
98
    Only resets comments in items table.
99
    Operates on specific database instead of the one from $KOHA_CONF.
99
    Operates on specific database instead of the one from $KOHA_CONF.
100
    Reads the schema from the specified file instead of default one.
100
    Reads the schema from the specified file instead of default one.
101
101
102
    misc/maintance/sync_db_comments.pl -renumber
102
    misc/maintenance/sync_db_comments.pl -renumber
103
    Renumbers all comments like Comment_1,2,..
103
    Renumbers all comments like Comment_1,2,..
104
    Added for testing purposes. Not meant to run on production.
104
    Added for testing purposes. Not meant to run on production.
105
    Omitting the commit flag allows you to see what would be done (dry run).
105
    Omitting the commit flag allows you to see what would be done (dry run).
106
- 

Return to bug 32334