Sha256: 2133f2739ef6cbf8c3a8541a2b6b4c36eb1e392c122f1a1e0abac813e3f62a39

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

# ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals"

## SYNOPSIS

`ronin-db migrate` [*options*]

## DESCRIPTION

Runs database migrations.

## OPTIONS

`--db` *NAME*
  The database to connect to. Will connect to the `default` database if not
  specified.

`--db-uri` *URI*
  The database URI to connect to.

  * **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
  * **mysql**: `mysql://user:password@host/database`
  * **postgres**: `postgres://user:password@host/database`

`--no-connect`
  Causes the Ruby shell to not connect to a database on startup.

`-h`, `--help`
  Print help information.

## ENVIRONMENT

*HOME*
  Alternate location for the user's home directory.

*XDG_CONFIG_HOME*
  Alternate location for the `~/.config` directory.

*XDG_DATA_HOME*
  Alternate location for the `~/.local/share` directory.

## FILES

`~/.local/share/ronin-db/database.sqlite3`
  The default sqlite3 database file.

`~/.config/ronin-db/database.yml`
  Optional database configuration.

## AUTHOR

Postmodern <postmodern.mod3@gmail.com>

## SEE ALSO

ronin-db-add(1)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ronin-db-0.1.3-java man/ronin-db-migrate.1.md
ronin-db-0.1.3 man/ronin-db-migrate.1.md
ronin-db-0.1.2-java man/ronin-db-migrate.1.md
ronin-db-0.1.2 man/ronin-db-migrate.1.md