sqlite - members and staff login info schema -


so have 2 tables, members , staff. need create login system means need store usernames , passwords both members , staff. how should implemented?

create single table name user_login or whatever suits best in table make 3 columns username, password , login_type/account_type, in third columns store type either member or staff.

table: user_login fields: username, password, account_type

sample data:

user1 | user123 | member


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -