Sha256: 716e8b684bcac3cb7e6613b9673a21a36cf33336124ce351959a052194207f84

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

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

## NAME

ronin-db-migrate - Runs database migrations

## 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`

`--db-file` *PATH*
: The sqlite3 database file to use.

`--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](ronin-db-add.1.md)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ronin-db-0.2.0-java man/ronin-db-migrate.1.md
ronin-db-0.2.0 man/ronin-db-migrate.1.md
ronin-db-0.2.0.rc1-java man/ronin-db-migrate.1.md
ronin-db-0.2.0.rc1 man/ronin-db-migrate.1.md