at15 / bform

Paper and data management web application for plastic forming
Apache License 2.0
0 stars 0 forks source link

Migrations for user system #12

Closed at15 closed 8 years ago

at15 commented 8 years ago

Need to create a user table that stores basic user info and credentials. NOTE: it's a better idea to split into two tables. For example:

id name display_name
id name display_name password_hash student_number create_time update_time

the first table is queried very often, and the smaller the table is, the better. Index could add on id,name and display_name, the second table only need the index on primary key.

But since I don't have too much time, I will just have one table.

at15 commented 8 years ago

Finished in 0c8a497f24b02d0d4f66df4e8de2127c4954b25d . Though a lot more is required if we want a real one, but this one is enough.