bikeshare-capstone-pdx / h-store

H-Store Distributed Main Memory OLTP Database System
http://hstore.cs.brown.edu
GNU General Public License v3.0
2 stars 0 forks source link

(Unique/Static) Usernames #8

Open MrRacoon opened 10 years ago

MrRacoon commented 10 years ago

The team would like to have Unique usernames for each rider and have some static riders inserted into the database.

Unique names can be achieved with (ap/pre)pending rider_id's to names

Static people can be generated using the initialization procedure.

Also, It was mentioned that reversing the signup procedures input outputs could make more sense. Instead of receiving a rider_id and creating a random name entry, take a name and create a rider with a unique number and return it.

MrRacoon commented 10 years ago

Procedures have been added for the creation of riders in a more controlled manner. You can either sign up riders by giving the id, the name, or nothing, and recieve the rider_id back as a result.