Created
October 28, 2014 15:04
-
-
Save jayd3e/d7b49ce668294d26fde0 to your computer and use it in GitHub Desktop.
This file contains 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
sudo -u postgres psql -c "drop database redd"; | |
sudo -u postgres psql -c "create database redd"; | |
sudo -u postgres psql -c "grant all privileges on database clusterflunk to jayd3e"; | |
sudo -u postgres psql -c "insert into networks(created, name, aliases, domain) values (now(), 'School of Hard Knocks', '', 'knocks.edu')" clusterflunk; | |
sudo -u postgres psql -c "insert into auth_users(created, username, password) values (now(), 'stompy', 'ddb7859d6ee2b49afcca946d6d1d605a5fb0c30c09507aef3d1a3511f824c041568895baee5733a0')" clusterflunk; | |
sudo -u postgres psql -c "insert into users(created, username, network_email, avatar_set, cached_avatar_set, active_network_id, auth_user_id) values (now(), 'stompy', 'jayd3e@knocks.edu', false, false, 1, 1)" clusterflunk; | |
sudo -u postgres psql -c "insert into memberships(user_id, network_id) values (1,1)" clusterflunk; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment