Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Added default "admin" user with "admin123" as password.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkader committed Apr 15, 2018
1 parent 00ae6b2 commit f15242b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/sql_dump/skeleton.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 100122
File Encoding : 65001
Date: 2018-04-12 19:39:03
Date: 2018-04-15 18:27:09
*/

SET FOREIGN_KEY_CHECKS=0;
Expand Down Expand Up @@ -55,11 +55,12 @@ CREATE TABLE `entities` (
`deleted_at` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `unique_username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of entities
-- ----------------------------
INSERT INTO `entities` VALUES ('1', '0', '0', 'user', 'administrator', 'admin', 'english', '2', '1', '0', '0', '0', '0');

-- ----------------------------
-- Table structure for groups
Expand Down Expand Up @@ -136,7 +137,7 @@ INSERT INTO `options` VALUES ('email_activation', 'true', 'users', 'dropdown', '
INSERT INTO `options` VALUES ('google_analytics_id', 'UA-XXXXX-Y', 'general', 'text', '', '0');
INSERT INTO `options` VALUES ('google_site_verification', '', 'general', 'text', '', '0');
INSERT INTO `options` VALUES ('language', 'english', 'language', 'dropdown', 'a:2:{s:7:\"english\";s:7:\"english\";s:6:\"french\";s:6:\"french\";}', '1');
INSERT INTO `options` VALUES ('languages', 'a:1:{i:2;s:7:\"english\";}', 'language', 'text', '', '1');
INSERT INTO `options` VALUES ('languages', 'a:3:{i:4;s:6:\"arabic\";i:2;s:7:\"english\";i:3;s:6:\"french\";}', 'language', 'text', '', '1');
INSERT INTO `options` VALUES ('login_type', 'both', 'users', 'dropdown', 'a:3:{s:4:\"both\";s:9:\"lang:both\";s:8:\"username\";s:13:\"lang:username\";s:5:\"email\";s:18:\"lang:email_address\";}', '1');
INSERT INTO `options` VALUES ('mail_protocol', 'mail', 'email', 'dropdown', 'a:3:{s:4:\"mail\";s:4:\"Mail\";s:4:\"smtp\";s:4:\"SMTP\";s:8:\"sendmail\";s:8:\"Sendmail\";}', '1');
INSERT INTO `options` VALUES ('manual_activation', 'false', 'users', 'dropdown', 'a:2:{s:4:\"true\";s:8:\"lang:yes\";s:5:\"false\";s:7:\"lang:no\";}', '1');
Expand All @@ -149,7 +150,7 @@ INSERT INTO `options` VALUES ('site_author', 'Kader Bouyakoub', 'general', 'text
INSERT INTO `options` VALUES ('site_description', 'A skeleton application for building CodeIgniter application.', 'general', 'text', '', '0');
INSERT INTO `options` VALUES ('site_favicon', '', 'general', 'text', '', '0');
INSERT INTO `options` VALUES ('site_keywords', 'these, are, site, keywords', 'general', 'text', '', '0');
INSERT INTO `options` VALUES ('site_name', 'Skeleton Demo', 'general', 'text', '', '1');
INSERT INTO `options` VALUES ('site_name', 'Skeleton', 'general', 'text', '', '1');
INSERT INTO `options` VALUES ('smtp_crypto', 'none', 'email', 'dropdown', 'a:3:{s:4:\"none\";s:9:\"lang:none\";s:3:\"ssl\";s:3:\"SSL\";s:3:\"tls\";s:3:\"TLS\";}', '1');
INSERT INTO `options` VALUES ('smtp_host', '', 'email', 'text', '', '0');
INSERT INTO `options` VALUES ('smtp_pass', '', 'email', 'password', '', '0');
Expand All @@ -159,6 +160,8 @@ INSERT INTO `options` VALUES ('theme', 'default', 'theme', 'text', '', '1');
INSERT INTO `options` VALUES ('themes', 'a:1:{s:7:\"default\";a:12:{s:4:\"name\";s:7:\"Default\";s:6:\"folder\";s:7:\"default\";s:9:\"theme_uri\";s:18:\"javascript:void(0)\";s:11:\"description\";s:46:\"The default theme that comes with the library.\";s:7:\"version\";s:5:\"1.0.0\";s:7:\"license\";s:11:\"MIT License\";s:11:\"license_uri\";s:35:\"https://opensource.org/licenses/MIT\";s:6:\"author\";s:15:\"Kader Bouyakoub\";s:10:\"author_uri\";s:25:\"https://github.com/bkader\";s:12:\"author_email\";s:15:\"bkader@mail.com\";s:4:\"tags\";s:29:\"codeigniter, skeleton, bkader\";s:10:\"screenshot\";s:76:\"http://dev.example.com/skeleton/public/content/themes/default/screenshot.jpg\";}}', 'theme', 'text', '', '1');
INSERT INTO `options` VALUES ('theme_images_default', 'a:2:{s:4:\"post\";a:3:{s:5:\"width\";i:220;s:6:\"height\";i:180;s:4:\"crop\";b:1;}s:6:\"avatar\";a:3:{s:5:\"width\";i:100;s:6:\"height\";i:100;s:4:\"crop\";b:1;}}', 'theme', 'text', '', '0');
INSERT INTO `options` VALUES ('theme_menus_default', 'a:3:{s:11:\"header-menu\";s:14:\"lang:main_menu\";s:11:\"footer-menu\";s:16:\"lang:footer_menu\";s:12:\"sidebar-menu\";s:17:\"lang:sidebar_menu\";}', 'menus', 'text', '', '0');
INSERT INTO `options` VALUES ('theme_menus_default3', 'a:3:{s:11:\"header-menu\";s:14:\"lang:main_menu\";s:11:\"footer-menu\";s:16:\"lang:footer_menu\";s:12:\"sidebar-menu\";s:17:\"lang:sidebar_menu\";}', 'menus', '0', '', '1');
INSERT INTO `options` VALUES ('theme_menus_default4', 'a:3:{s:11:\"header-menu\";s:14:\"lang:main_menu\";s:11:\"footer-menu\";s:16:\"lang:footer_menu\";s:12:\"sidebar-menu\";s:17:\"lang:sidebar_menu\";}', 'menus', '0', '', '1');
INSERT INTO `options` VALUES ('upload_path', 'content/uploads', 'upload', 'text', '', '1');
INSERT INTO `options` VALUES ('use_captcha', 'false', 'captcha', 'dropdown', 'a:2:{s:4:\"true\";s:8:\"lang:yes\";s:5:\"false\";s:7:\"lang:no\";}', '1');
INSERT INTO `options` VALUES ('use_gravatar', 'false', 'users', 'dropdown', 'a:2:{s:4:\"true\";s:8:\"lang:yes\";s:5:\"false\";s:7:\"lang:no\";}', '1');
Expand Down Expand Up @@ -217,6 +220,7 @@ CREATE TABLE `users` (
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES ('1', 'admin@localhost', '$2y$10$4h4flmWkk36OkKF6v.IlCeidGxpKa3sYkoysnKoMoggRao9sPK3My', 'Admin', 'Skeleton', 'male', '0');

-- ----------------------------
-- Table structure for variables
Expand Down

0 comments on commit f15242b

Please sign in to comment.