/*
 Navicat Premium Dump SQL

 Source Server         : ProductionServer
 Source Server Type    : MariaDB
 Source Server Version : 100622 (10.6.22-MariaDB-log)
 Source Host           : localhost:3306
 Source Schema         : kiosk_users

 Target Server Type    : MariaDB
 Target Server Version : 100622 (10.6.22-MariaDB-log)
 File Encoding         : 65001

 Date: 24/07/2025 09:35:23
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for uf_user
-- ----------------------------
DROP TABLE IF EXISTS `uf_user`;
CREATE TABLE `uf_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_name` varchar(50) NOT NULL,
  `display_name` varchar(50) NOT NULL,
  `password` varchar(255) NOT NULL,
  `email` varchar(150) NOT NULL,
  `activation_token` varchar(225) NOT NULL,
  `last_activation_request` datetime NOT NULL,
  `lost_password_request` tinyint(1) NOT NULL DEFAULT 0,
  `lost_password_timestamp` datetime DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `title` varchar(150) NOT NULL,
  `sign_up_stamp` datetime NOT NULL,
  `last_sign_in_stamp` datetime DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Specifies if the account is enabled.  Disabled accounts cannot be logged in to, but they retain all of their data and settings.',
  `primary_group_id` smallint(6) unsigned NOT NULL DEFAULT 1 COMMENT 'Specifies the primary group for the user.',
  `locale` varchar(10) NOT NULL DEFAULT 'en_US' COMMENT 'The language and locale to use for this user.',
  `oldEmployeeID` int(11) DEFAULT NULL,
  `oldTypeNum` varchar(10) DEFAULT NULL,
  `pin` varchar(4) DEFAULT NULL,
  `dailyReport` tinyint(1) unsigned DEFAULT 0,
  `rpAPI` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23661 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

SET FOREIGN_KEY_CHECKS = 1;
