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
Post a Comment