|
| 1 | +# ************************************************************ |
| 2 | +# Sequel Pro SQL dump |
| 3 | +# Version 4541 |
| 4 | +# |
| 5 | +# http://www.sequelpro.com/ |
| 6 | +# https://github.com/sequelpro/sequelpro |
| 7 | +# |
| 8 | +# Host: 127.0.0.1 (MySQL 5.7.24) |
| 9 | +# Database: addchat_db |
| 10 | +# Generation Time: 2019-10-18 13:08:10 +0000 |
| 11 | +# ************************************************************ |
| 12 | + |
| 13 | + |
| 14 | +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
| 15 | +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
| 16 | +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
| 17 | +/*!40101 SET NAMES utf8 */; |
| 18 | +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
| 19 | +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
| 20 | +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
| 21 | + |
| 22 | + |
| 23 | +# Dump of table ac_messages |
| 24 | +# ------------------------------------------------------------ |
| 25 | + |
| 26 | +DROP TABLE IF EXISTS `ac_messages`; |
| 27 | + |
| 28 | +CREATE TABLE `ac_messages` ( |
| 29 | + `id` int(11) NOT NULL AUTO_INCREMENT, |
| 30 | + `m_from` int(11) NOT NULL DEFAULT '0', |
| 31 | + `m_to` int(11) NOT NULL, |
| 32 | + `message` text COLLATE utf8mb4_unicode_ci NOT NULL, |
| 33 | + `is_read` tinyint(1) NOT NULL DEFAULT '0', |
| 34 | + `m_from_delete` tinyint(1) NOT NULL DEFAULT '0', |
| 35 | + `m_to_delete` tinyint(1) NOT NULL DEFAULT '0', |
| 36 | + `dt_updated` datetime DEFAULT NULL, |
| 37 | + PRIMARY KEY (`id`) |
| 38 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +# Dump of table ac_profiles |
| 43 | +# ------------------------------------------------------------ |
| 44 | + |
| 45 | +DROP TABLE IF EXISTS `ac_profiles`; |
| 46 | + |
| 47 | +CREATE TABLE `ac_profiles` ( |
| 48 | + `id` int(11) NOT NULL AUTO_INCREMENT, |
| 49 | + `user_id` int(11) DEFAULT NULL, |
| 50 | + `fullname` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL, |
| 51 | + `avatar` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL, |
| 52 | + `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0:offline;1:online;2:away;3:busy', |
| 53 | + `dt_updated` datetime DEFAULT NULL, |
| 54 | + PRIMARY KEY (`id`) |
| 55 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +# Dump of table ac_settings |
| 60 | +# ------------------------------------------------------------ |
| 61 | + |
| 62 | +DROP TABLE IF EXISTS `ac_settings`; |
| 63 | + |
| 64 | +CREATE TABLE `ac_settings` ( |
| 65 | + `id` int(11) NOT NULL AUTO_INCREMENT, |
| 66 | + `s_name` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL, |
| 67 | + `s_value` text COLLATE utf8mb4_unicode_ci, |
| 68 | + `dt_updated` datetime DEFAULT NULL, |
| 69 | + PRIMARY KEY (`id`) |
| 70 | +) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 71 | + |
| 72 | +LOCK TABLES `ac_settings` WRITE; |
| 73 | +/*!40000 ALTER TABLE `ac_settings` DISABLE KEYS */; |
| 74 | + |
| 75 | +INSERT INTO `ac_settings` (`id`, `s_name`, `s_value`, `dt_updated`) |
| 76 | +VALUES |
| 77 | + (1,'admin_user_id','1','2019-10-18 12:53:26'), |
| 78 | + (2,'pagination_limit','5','2019-10-18 12:53:26'), |
| 79 | + (3,'img_upload_path','upload','2019-03-06 00:00:00'), |
| 80 | + (4,'assets_path','assets','2019-10-18 12:53:26'), |
| 81 | + (5,'users_table','users','2019-10-18 12:53:26'), |
| 82 | + (6,'users_col_id','id','2019-10-18 12:53:26'), |
| 83 | + (7,'users_col_email','email','2019-10-18 12:53:26'), |
| 84 | + (8,'site_name','AddChat','2019-10-18 12:53:26'), |
| 85 | + (9,'site_logo',NULL,'2019-09-06 08:25:52'), |
| 86 | + (10,'chat_icon',NULL,'2019-09-06 08:24:20'), |
| 87 | + (11,'notification_type','0','2019-10-18 12:53:26'), |
| 88 | + (12,'footer_text','AddChat | by Classiebit','2019-10-18 12:53:26'), |
| 89 | + (13,'footer_url','https://classiebit.com/addchat-codeigniter-pro','2019-10-18 12:53:26'); |
| 90 | + |
| 91 | +/*!40000 ALTER TABLE `ac_settings` ENABLE KEYS */; |
| 92 | +UNLOCK TABLES; |
| 93 | + |
| 94 | + |
| 95 | +# Dump of table ac_users_messages |
| 96 | +# ------------------------------------------------------------ |
| 97 | + |
| 98 | +DROP TABLE IF EXISTS `ac_users_messages`; |
| 99 | + |
| 100 | +CREATE TABLE `ac_users_messages` ( |
| 101 | + `id` int(11) NOT NULL AUTO_INCREMENT, |
| 102 | + `users_id` int(11) NOT NULL, |
| 103 | + `buddy_id` int(11) NOT NULL, |
| 104 | + `messages_count` int(11) NOT NULL DEFAULT '1', |
| 105 | + PRIMARY KEY (`id`), |
| 106 | + UNIQUE KEY `users_id` (`users_id`,`buddy_id`) |
| 107 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
| 113 | +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
| 114 | +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
| 115 | +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
| 116 | +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
| 117 | +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
0 commit comments