Add database nuke option to PostgreSQL and MySQL
This commit is contained in:
@@ -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}'
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user