Oliver Gorwits > App-Netdisco-2.005000_002 > bin/netdisco-db-deploy

Download:
App-Netdisco-2.005000_002.tar.gz

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: App-Netdisco-2.029007

netdisco-db-deploy ^

This script upgrades or initialises a Netdisco database schema.

Pre-existing requirements are that there be a database table created and a user with rights to create tables in that database. Both the table and user name must match those configured in your environment YAML file (default environments/development.yml).

Simply run this script, which connects to the database and runs without user interaction. If there's no Nedisco schema, it is deployed. If there's an unversioned schema then versioning is added, and updates applied. Otherwise only necessary updates are applied to an already versioned schema.

Versions

syntax highlighting: