我在数据库中找不到ps\u employee表。有可能这张table刚刚散架了吗?如何创建新帐户并添加新的管理员帐户?
oewdyzsn1#
当然,这个表不可能自动消失,无论如何,您可以将它与相关联的 _shop 表格:
_shop
CREATE TABLE IF NOT EXISTS `ps_employee` ( `id_employee` int(10) unsigned NOT NULL auto_increment, `id_profile` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL DEFAULT '0', `lastname` varchar(32) NOT NULL, `firstname` varchar(32) NOT NULL, `email` varchar(128) NOT NULL, `passwd` varchar(60) NOT NULL, `last_passwd_gen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `stats_date_from` date DEFAULT NULL, `stats_date_to` date DEFAULT NULL, `stats_compare_from` date DEFAULT NULL, `stats_compare_to` date DEFAULT NULL, `stats_compare_option` int(1) unsigned NOT NULL DEFAULT 1, `preselect_date_range` varchar(32) DEFAULT NULL, `bo_color` varchar(32) DEFAULT NULL, `bo_theme` varchar(32) DEFAULT NULL, `bo_css` varchar(64) DEFAULT NULL, `default_tab` int(10) unsigned NOT NULL DEFAULT '0', `bo_width` int(10) unsigned NOT NULL DEFAULT '0', `bo_menu` tinyint(1) NOT NULL DEFAULT '1', `active` tinyint(1) unsigned NOT NULL DEFAULT '0', `optin` tinyint(1) unsigned NOT NULL DEFAULT '1', `id_last_order` int(10) unsigned NOT NULL DEFAULT '0', `id_last_customer_message` int(10) unsigned NOT NULL DEFAULT '0', `id_last_customer` int(10) unsigned NOT NULL DEFAULT '0', `last_connection_date` date DEFAULT NULL, `reset_password_token` varchar(40) DEFAULT NULL, `reset_password_validity` datetime DEFAULT NULL, PRIMARY KEY (`id_employee`), KEY `employee_login` (`email`,`passwd`), KEY `id_employee_passwd` (`id_employee`,`passwd`), KEY `id_profile` (`id_profile`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION; CREATE TABLE IF NOT EXISTS `ps_employee_shop` ( `id_employee` INT(11) UNSIGNED NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL, PRIMARY KEY (`id_employee`,`id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION;
现在只需要在 passwd 您可以添加任何文本,因为您需要在管理员登录页中恢复密码。
passwd
1条答案
按热度按时间oewdyzsn1#
当然,这个表不可能自动消失,无论如何,您可以将它与相关联的
_shop
表格:现在只需要在
passwd
您可以添加任何文本,因为您需要在管理员登录页中恢复密码。