D
D
DarkByte20152016-05-10 15:55:11
Database design
DarkByte2015, 2016-05-10 15:55:11

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

1 answer(s)
S
Sergey Kuzmin, 2016-05-10
@Flashmond

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 question

Ask a Question

731 491 924 answers to any question