Skip to content

NAME

cta-catalogue-schema-drop --- Drop the CTA Catalogue schema

SYNOPSIS

cta-catalogue-schema-drop databaseConnectionFile [--help]

DESCRIPTION

cta-catalogue-schema-drop is a command-line tool that will drop all of the tables and sequences in the specified database. It will abort if the CTA Catalogue database has been marked as a production database with cta-catalogue-schema-set-production.

databaseConnectionFile is the path to the configuration file containing the connection details of the CTA Catalogue database.

OPTIONS

-h, --help

Display command options and exit.

EXIT STATUS

cta-catalogue-schema-drop returns 0 on success.

EXAMPLE

cta-catalogue-schema-drop /etc/cta/cta-catalogue.conf

SEE ALSO

cta-catalogue-schema-set-production(1cta)

CERN Tape Archive documentation https://eoscta.docs.cern.ch/

COPYRIGHT

Copyright © 2024 CERN. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. In applying this licence, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.