-- phpMyAdmin SQL Dump
-- version 3.4.8
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2018 年 11 月 11 日 11:05
-- 服务器版本: 5.5.54
-- PHP 版本: 5.4.45

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

--
-- 数据库: `temmoku`
--

-- --------------------------------------------------------

--
-- 表的结构 `temmoku_plugin_sms_list`
--

DROP TABLE IF EXISTS `temmoku_plugin_sms_list`;
CREATE TABLE IF NOT EXISTS `temmoku_plugin_sms_list` (
  `id` mediumint(9) NOT  NULL AUTO_INCREMENT,
  `initial_name` varchar(255) NULL DEFAULT NULL,
  `is_default` tinyint(3)  NULL DEFAULT '0',
  `setting` text NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


-- --------------------------------------------------------

--
-- 表的结构 `temmoku_plugin_sms_put`
--

DROP TABLE IF EXISTS `temmoku_plugin_sms_put`;
CREATE TABLE IF NOT EXISTS `temmoku_plugin_sms_put` (
  `id` mediumint(9) NOT NULL AUTO_INCREMENT,
  `mobile` bigint(19)  NULL DEFAULT '0',
  `code` mediumint(9)  NULL DEFAULT '0',
  `text` varchar(255)  NULL DEFAULT NULL,
  `posttime` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mobile` (`mobile`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='推送的手机号码' AUTO_INCREMENT=1 ;


-- --------------------------------------------------------

--
-- 表的结构 `temmoku_plugin_sms_setting`
--

DROP TABLE IF EXISTS `temmoku_plugin_sms_setting`;
CREATE TABLE IF NOT EXISTS `temmoku_plugin_sms_setting` (
  `Id` int(11) NOT NULL AUTO_INCREMENT,
  `u_key` varchar(255) NULL DEFAULT NULL,
  `u_value` text NULL DEFAULT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `temmoku_plugin_sms_setting`
--

INSERT INTO `temmoku_plugin_sms_setting` (`Id`, `u_key`, `u_value`) VALUES(1, 'is_close', '1');
INSERT INTO `temmoku_plugin_sms_setting` (`Id`, `u_key`, `u_value`) VALUES(2, 'close_why', '暂时关闭');

