From c8a87758388cb30ef9d7b2a58cfb52c13b7d37ba Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 1 Apr 2021 14:03:33 +0200 Subject: [PATCH] sql: add schema for yubikey_mapping --- yubikey_mapping.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 yubikey_mapping.sql diff --git a/yubikey_mapping.sql b/yubikey_mapping.sql new file mode 100644 index 0000000..f2c792f --- /dev/null +++ b/yubikey_mapping.sql @@ -0,0 +1,9 @@ +# +# Table structure for table equiv of yubikey_mapping +# + +CREATE TABLE IF NOT EXISTS `otp`.`yubikey_mappings` ( + `otp_id` VARCHAR(12) NOT NULL , + `username` VARCHAR(64) NOT NULL , + PRIMARY KEY (`otp_id`(12)) + );