Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

API: Add a tool to seed the database with a bunch of users, places, phone numbers, and hazards #82

Closed
aub opened this issue Feb 23, 2017 · 1 comment
Assignees

Comments

@aub
Copy link
Contributor

aub commented Feb 23, 2017

This will make the app have some more interesting data in it.

IMPORTANT NOTE: We need to add a field to the users table that marks these users as fake and then be very careful that we never ever send them any kind of notification.

@gcs272
Copy link
Contributor

gcs272 commented Mar 2, 2017

verified:

☵ ‥/ca-alert/backend› ./bin/rake seed_db:load_data                                                                                                                          master 4:57:32
la users
bay_area users
sacramento users
midstate users
southstate users
ncal users
la hazards
bay_area hazards
sacramento hazards
midstate hazards
southstate hazards
ncal hazards
CREATED:
  440 users
  858 places
  38 hazards
  887 alerts

@gcs272 gcs272 closed this as completed Mar 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants