Add database nuke option to PostgreSQL and MySQL
This commit is contained in:
parent
47794ffb08
commit
403f27526d
|
@ -24,5 +24,6 @@ in mkShell {
|
|||
mysql --socket="${socket}" -u root < ${sql_file}
|
||||
|
||||
alias mysql='mysql --socket="${socket}" -u root'
|
||||
alias nuke='rm -rf ${data_dir}'
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -24,5 +24,6 @@ in mkShell {
|
|||
|
||||
psql -d postgres -f ${sql_file}
|
||||
alias psql='psql -d postgres'
|
||||
alias nuke='rm -rf ${data_dir}'
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue