text: -- MySQL dump 10.13  Distrib 5.6.26, for osx10.11 (x86_64)
  --
  -- Host: localhost    Database: agendator
  -- ------------------------------------------------------
  -- Server version	5.6.26
  
  /*!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 `appointment`
  --
  
  DROP TABLE IF EXISTS `appointment`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `appointment` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `attended` tinyint(1) NOT NULL,
    `patient` int(11) DEFAULT NULL,
    `schedule` int(11) DEFAULT NULL,
    PRIMARY KEY (`id`),
    KEY `FKA8155B9F9B0A5543` (`schedule`),
    KEY `FKA8155B9FDF4EAEBB` (`patient`),
    CONSTRAINT `FKA8155B9F9B0A5543` FOREIGN KEY (`schedule`) REFERENCES `schedule` (`id`),
    CONSTRAINT `FKA8155B9FDF4EAEBB` FOREIGN KEY (`patient`) REFERENCES `patient` (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `appointment`
  --
  
  LOCK TABLES `appointment` WRITE;
  /*!40000 ALTER TABLE `appointment` DISABLE KEYS */;
  INSERT INTO `appointment` VALUES (1,0,4,3),(2,0,12,4),(3,0,20,6),(4,0,140,7),(5,0,210,28),(6,0,217,31),(7,0,3,32),(8,0,61,52),(9,0,75,53),(10,0,45,54),(11,0,166,55),(12,0,201,56);
  /*!40000 ALTER TABLE `appointment` 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 2015-12-07 13:01:03
  