Name: smhackdown-api
Owner: Natural History Museum
Description: Flask API for serving images & storing votes
Created: 2017-02-21 12:38:39.0
Updated: 2017-02-21 12:40:31.0
Pushed: 2017-02-22 14:14:05.0
Homepage: null
Size: 67
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Flask API for serving images & storing votes
CREATE TABLE likes (
object_id integer REFERENCES objects (id),
created_on date not null default CURRENT_DATE
);
PGPASSWORD=asdf /Applications/Postgres.app/Contents/Versions/9.6/bin/pg_dump -Fc –no-acl –no-owner -h localhost -U postgres smhackdown > smhackdown.dump
heroku pg:backups:restore https://github.com/NaturalHistoryMuseum/smhackdown-api/blob/master/smhackdown/bin/smhackdown.dump?raw=true