Skip to content
Extraits de code Groupes Projets
Vérifiée Valider a1e8bb50 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Modify the sqlite schema

parent 997f30ab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!51User access control and management
...@@ -77,6 +77,18 @@ CREATE TABLE IF NOT EXISTS queue ...@@ -77,6 +77,18 @@ CREATE TABLE IF NOT EXISTS queue
); );
-- The user table
-- Used for the [password {passwd}] MPD command. The documentation can be found
-- here: https://www.musicpd.org/doc/html/protocol.html#connection-settings.
-- The password command is used to restrict access to specific commands.
CREATE TABLE IF NOT EXISTS users
( username TEXT NOT NULL UNIQUE
, password TEXT NOT NULL UNIQUE
, PRIMARY KEY (username, password)
) WITHOUT ROWID;
-- Some useful values: -- Some useful values:
-- last_update is the timestamp of the last time the table of kara has been -- last_update is the timestamp of the last time the table of kara has been
-- updated. This is so lektor doesn't have to read all kara in the filesystem, -- updated. This is so lektor doesn't have to read all kara in the filesystem,
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter