text: -- phpMyAdmin SQL Dump
  -- version 4.7.8
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Mar 29, 2018 at 06:41 AM
  -- Server version: 5.7.9
  -- PHP Version: 7.1.7
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  START TRANSACTION;
  SET time_zone = "+07:00";
  
  
  /*!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 utf8mb4 */;
  
  --
  -- Database: `ci317`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `main_article_ici_link`
  --
  
  CREATE TABLE `main_article_ici_link` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `aid` bigint(20) UNSIGNED NOT NULL,
    `title` varchar(255) NOT NULL,
    `article_id` bigint(20) DEFAULT NULL,
    `facility_id` bigint(20) DEFAULT NULL,
    `publisher_id` bigint(20) DEFAULT NULL,
    `link_type` tinyint(3) NOT NULL,
    `order` tinyint(3) UNSIGNED NOT NULL,
    `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `main_article_ici_link`
  --
  ALTER TABLE `main_article_ici_link`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `main_article_ici_link`
  --
  ALTER TABLE `main_article_ici_link`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  COMMIT;
  
  /*!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 */;
  