????
Current Path : /home/r6536736/public_html/kanri.saitama-yanekozi.com/db/ |
Current File : /home/r6536736/public_html/kanri.saitama-yanekozi.com/db/20210108_customer_system_db.sql |
-- MySQL dump 10.16 Distrib 10.1.19-MariaDB, for Win32 (AMD64) -- -- Host: localhost Database: localhost -- ------------------------------------------------------ -- Server version 10.4.11-MariaDB /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `admins` -- DROP TABLE IF EXISTS `admins`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admins` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', `created` datetime NOT NULL COMMENT '登録日時', `modified` datetime NOT NULL COMMENT '更新日時', `name` varchar(255) NOT NULL DEFAULT '' COMMENT '名前', `username` varchar(255) NOT NULL DEFAULT '' COMMENT 'ログインID', `password` varchar(255) NOT NULL DEFAULT '' COMMENT 'ログインパスワード', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='管理者アカウント'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `admins` -- LOCK TABLES `admins` WRITE; /*!40000 ALTER TABLE `admins` DISABLE KEYS */; INSERT INTO `admins` VALUES (1,'2019-01-07 18:25:42','2019-01-07 18:25:42','デモユーザー','demo','b045534a246b0492a696a4ac792aaf5c2b1530e401292ccb0d09a3fb47901d3e'); /*!40000 ALTER TABLE `admins` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sexes` -- DROP TABLE IF EXISTS `sexes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sexes` ( `id` tinyint(4) NOT NULL COMMENT 'ID', `created` datetime NOT NULL COMMENT '登録日時', `modified` datetime NOT NULL COMMENT '更新日時', `name` varchar(50) NOT NULL DEFAULT '' COMMENT '性別', `color` varchar(255) NOT NULL DEFAULT '' COMMENT '色', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='性別'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sexes` -- LOCK TABLES `sexes` WRITE; /*!40000 ALTER TABLE `sexes` DISABLE KEYS */; INSERT INTO `sexes` VALUES (1,'2019-01-07 17:58:11','2019-01-07 17:58:11','男性','text-aqua'),(2,'2019-01-07 17:58:11','2019-01-07 17:58:11','女性','text-red'); /*!40000 ALTER TABLE `sexes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', `created` datetime NOT NULL COMMENT '登録日時', `modified` datetime NOT NULL COMMENT '更新日時', `name` varchar(255) NOT NULL DEFAULT '' COMMENT '名前', `sex_id` tinyint(4) NOT NULL DEFAULT 0 COMMENT '性別ID', `postal_code` varchar(8) NOT NULL DEFAULT '' COMMENT '郵便番号', `address` text NOT NULL COMMENT '住所', `email` text NOT NULL COMMENT 'メールアドレス', `tel` varchar(20) NOT NULL DEFAULT '' COMMENT '電話番号', `birthday` date NOT NULL DEFAULT '9999-12-31' COMMENT '誕生日', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='顧客'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2021-01-08 16:16:16