flora-server
flora-server copied to clipboard
Create many-to-many relationship between packages and external users
We need to account for external users when dealing with Hackage indexes. We need a table for external_users with a couple of preliminary information:
id: surrogate key that we manageusername: username from the remote Hackage indexexternal_idid of the username in the remote Hackage indexpackage_indexforeign key topackage_indexes
Then we need a many-to-many relationship package_maintainers that links packages and external_users