Created
November 12, 2015 22:13
-
-
Save robdmc/e0e537efbb0d260fbe07 to your computer and use it in GitHub Desktop.
Stash the current dev database in vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
echo "DROP DATABASE IF EXISTS ambition_dev_stash; CREATE DATABASE ambition_dev_stash WITH TEMPLATE ambition_dev OWNER ambition_dev;" | psql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment