.\" Generated by kramdown-man 0.1.9 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals" .LP .SH SYNOPSIS .LP .PP \fBronin-db migrate\fR \[lB]\fIoptions\fP\[rB] .LP .SH DESCRIPTION .LP .PP Runs database migrations\. .LP .SH OPTIONS .LP .TP \fB--db\fR \fINAME\fP The database to connect to\. Will connect to the \fBdefault\fR database if not specified\. .LP .TP \fB--db-uri\fR \fIURI\fP The database URI to connect to\. .LP .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql://user:password@host/database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres://user:password@host/database\fR .RE .LP .TP \fB--no-connect\fR Causes the Ruby shell to not connect to a database on startup\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH ENVIRONMENT .LP .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .LP .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB~/.config\fR directory\. .LP .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB~/.local/share\fR directory\. .LP .SH FILES .LP .TP \fB~/.local/share/ronin-db/database.sqlite3\fR The default sqlite3 database file\. .LP .TP \fB~/.config/ronin-db/database.yml\fR Optional database configuration\. .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP .SH SEE ALSO .LP .PP ronin\-db\-add(1)