Skip to content

brentnk/hitch-faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hitch-faker

Faking miniquiz sql_hitch data solutions(probably) ./sql_hitch.sql

> python sql_hitch_fake.py -u 5000 -t 50000

Creates a file user_trip.data.sql to insert the data into a Postgres database.

Use psql to create a database

psql -c 'create database hitchminiquiz;'

Setup schema

psql -d hitchminiquiz -f ./setup_schema.sql

Create fake data

pip install fake-factory
python sql_hitch_fake.py --user-count <int> --trip-count <int>

Populate db

psql -d hitchminiquiz -f ./user_trip.data.sql

TODO

These fields are currently blank:

About

Faking miniquiz sql_hitch data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages