CREATE TABLE `%%%TABLE_NAME%%%` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_type_id` int(11) NOT NULL,
  `login_id` varchar(32) NOT NULL,
  `password` varchar(64) NOT NULL COMMENT 'SHA-256',
  `display_name` varchar(16) NOT NULL,
  `setting` text,
  `registered` datetime NOT NULL,
  `last_login` datetime DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_type_id` (`user_type_id`),
  KEY `login_id` (`login_id`),
  KEY `registered` (`registered`),
  KEY `display_name` (`display_name`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8