Answer the question
In order to leave comments, you need to log in
How to describe one field in a database?
How to create only one field in a database? I am writing a chat and I need somewhere to store the password for the rights of the super-administrator (who can add other administrators). I decided that I would probably set it when the server starts, and store it in the database. But I do not know how to make only one field for this case. Do I have to create a new table for this? Those. a new entity and a new list of objects of this entity in the container... Can it be somehow simpler?
Answer the question
In order to leave comments, you need to log in
That is, the administrator will not have other fields? Anyone who knows the super admin password will be able to add admins? Or will he still have a login?
Why did you decide to store it in the database and not in the server config?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question