mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Added id as primary key to authorized_keys table
This commit is contained in:
parent
b1c569e86f
commit
810c383283
2 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ if __name__ == "__main__":
|
|||
conn = sqlite3.connect(filename)
|
||||
cursor = conn.cursor()
|
||||
|
||||
cursor.execute("CREATE TABLE authorized_uids(uid_hex, nick)")
|
||||
cursor.execute("CREATE TABLE authorized_uids(id INTEGER PRIMARY KEY AUTOINCREMENT, uid_hex TEXT, nick TEXT)")
|
||||
conn.commit()
|
||||
conn.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue