-- MySQL dump 10.13  Distrib 8.0.18, for macos10.14 (x86_64)
--
-- Host: art-dambrine.ovh    Database: robot
-- ------------------------------------------------------
-- Server version	8.0.18

/*!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 */;
/*!50503 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 `LINK`
--

DROP TABLE IF EXISTS `LINK`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `LINK` (
  `link` varchar(255) COLLATE utf8_roman_ci NOT NULL,
  `score` int(11) DEFAULT NULL,
  `site_id` varchar(255) COLLATE utf8_roman_ci NOT NULL,
  PRIMARY KEY (`link`,`site_id`),
  KEY `site_id` (`site_id`),
  CONSTRAINT `LINK_ibfk_1` FOREIGN KEY (`site_id`) REFERENCES `SITE` (`URL`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_roman_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `LINK`
--

LOCK TABLES `LINK` WRITE;
/*!40000 ALTER TABLE `LINK` DISABLE KEYS */;
INSERT INTO `LINK` VALUES ('archive.ubuntu.com',1,'https://art-dambrine.ovh'),('asciidoctor.org',6,'https://art-dambrine.ovh'),('askubuntu.com',1,'https://art-dambrine.ovh'),('cdnjs.cloudflare.com',4,'https://art-dambrine.ovh'),('example.com',2,'https://art-dambrine.ovh'),('fonts.googleapis.com',6,'https://art-dambrine.ovh'),('gitlab.art-dambrine.ovh',3,'https://art-dambrine.ovh'),('help.ubuntu.com',4,'https://art-dambrine.ovh'),('openclassrooms.com',15,'https://art-dambrine.ovh'),('raw.githubusercontent.com',1,'https://art-dambrine.ovh'),('stackoverflow.com',1,'https://art-dambrine.ovh'),('system.cs.kuleuven.be',1,'https://art-dambrine.ovh'),('twit.com',1,'https://art-dambrine.ovh'),('twitter.com',22,'https://art-dambrine.ovh'),('www.linkedin.com',3,'https://art-dambrine.ovh');
/*!40000 ALTER TABLE `LINK` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `SITE`
--

DROP TABLE IF EXISTS `SITE`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `SITE` (
  `URL` varchar(255) COLLATE utf8_roman_ci NOT NULL,
  `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`URL`),
  UNIQUE KEY `URLS_UNIQUE` (`URL`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_roman_ci COMMENT='Liens pour les sites';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `SITE`
--

LOCK TABLES `SITE` WRITE;
/*!40000 ALTER TABLE `SITE` DISABLE KEYS */;
INSERT INTO `SITE` VALUES ('https://art-dambrine.ovh','2020-01-12 01:52:36');
/*!40000 ALTER TABLE `SITE` 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 2020-01-12  3:05:25
