central server table for sms
Showing
1 changed file
with
66 additions
and
0 deletions
custom/db/sms_report.sql
0 → 100644
| 1 | -- phpMyAdmin SQL Dump | ||
| 2 | -- version 4.5.3.1 | ||
| 3 | -- http://www.phpmyadmin.net | ||
| 4 | -- | ||
| 5 | -- Host: localhost | ||
| 6 | -- Generation Time: Nov 30, 2018 at 12:00 PM | ||
| 7 | -- Server version: 10.0.28-MariaDB | ||
| 8 | -- PHP Version: 5.6.29 | ||
| 9 | |||
| 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | ||
| 11 | SET time_zone = "+00:00"; | ||
| 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 utf8mb4 */; | ||
| 18 | |||
| 19 | -- | ||
| 20 | -- Database: `kstych_flexydial` | ||
| 21 | -- | ||
| 22 | |||
| 23 | -- -------------------------------------------------------- | ||
| 24 | |||
| 25 | -- | ||
| 26 | -- Table structure for table `sms_report` | ||
| 27 | -- | ||
| 28 | |||
| 29 | CREATE TABLE `sms_report` ( | ||
| 30 | `id` int(10) NOT NULL, | ||
| 31 | `server` int(10) NOT NULL, | ||
| 32 | `sms_id` int(11) NOT NULL, | ||
| 33 | `ins_date_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
| 34 | `created_at` varchar(50) NOT NULL, | ||
| 35 | `message_time` datetime NOT NULL, | ||
| 36 | `server_ip` varchar(20) NOT NULL, | ||
| 37 | `call_id` int(20) NOT NULL, | ||
| 38 | `agent_name` varchar(30) NOT NULL, | ||
| 39 | `subdispo` varchar(60) NOT NULL, | ||
| 40 | `number` varchar(25) NOT NULL, | ||
| 41 | `message` varchar(50000) NOT NULL, | ||
| 42 | `response` varchar(50) NOT NULL | ||
| 43 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
| 44 | |||
| 45 | -- | ||
| 46 | -- Indexes for dumped tables | ||
| 47 | -- | ||
| 48 | |||
| 49 | -- | ||
| 50 | -- Indexes for table `sms_report` | ||
| 51 | -- | ||
| 52 | ALTER TABLE `sms_report` | ||
| 53 | ADD PRIMARY KEY (`id`); | ||
| 54 | |||
| 55 | -- | ||
| 56 | -- AUTO_INCREMENT for dumped tables | ||
| 57 | -- | ||
| 58 | |||
| 59 | -- | ||
| 60 | -- AUTO_INCREMENT for table `sms_report` | ||
| 61 | -- | ||
| 62 | ALTER TABLE `sms_report` | ||
| 63 | MODIFY `id` int(10) NOT NULL AUTO_INCREMENT; | ||
| 64 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
| 65 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | ||
| 66 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
-
Please register or sign in to post a comment