Blame doc/earthworm.sql

f96e40
-- phpMyAdmin SQL Dump
f96e40
-- version 4.7.0
f96e40
-- https://www.phpmyadmin.net/
f96e40
--
f96e40
-- Host: localhost
f96e40
-- Generation Time: Sep 25, 2019 at 12:10 AM
f96e40
-- Server version: 10.1.37-MariaDB-0+deb9u1
f96e40
-- PHP Version: 5.6.36-0+deb8u1
f96e40
f96e40
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
f96e40
SET AUTOCOMMIT = 0;
f96e40
START TRANSACTION;
f96e40
SET time_zone = "+00:00";
f96e40
f96e40
f96e40
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
f96e40
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
f96e40
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
f96e40
/*!40101 SET NAMES utf8mb4 */;
f96e40
f96e40
--
f96e40
-- Database: `earthworm`
f96e40
--
f96e40
f96e40
-- --------------------------------------------------------
f96e40
f96e40
--
f96e40
-- Table structure for table `ew_repositories`
f96e40
--
f96e40
f96e40
CREATE TABLE `ew_repositories` (
f96e40
  `id` int(11) NOT NULL,
f96e40
  `user_id` int(11) NOT NULL,
f96e40
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL
f96e40
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
f96e40
f96e40
--
f96e40
-- Dumping data for table `ew_repositories`
f96e40
--
f96e40
f96e40
-- --------------------------------------------------------
f96e40
f96e40
--
f96e40
-- Table structure for table `ew_rights`
f96e40
--
f96e40
f96e40
CREATE TABLE `ew_rights` (
f96e40
  `id` int(11) NOT NULL,
f96e40
  `user_id` int(11) NOT NULL,
f96e40
  `target_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `target_id` int(11) NOT NULL,
f96e40
  `mode` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
f96e40
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
f96e40
f96e40
--
f96e40
-- Dumping data for table `ew_rights`
f96e40
--
f96e40
f96e40
-- --------------------------------------------------------
f96e40
f96e40
--
f96e40
-- Table structure for table `ew_test`
f96e40
--
f96e40
f96e40
CREATE TABLE `ew_test` (
f96e40
  `id` int(11) NOT NULL,
f96e40
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `number` int(11) NOT NULL,
f96e40
  `value` double NOT NULL,
f96e40
  `date` datetime NOT NULL
f96e40
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
f96e40
f96e40
--
f96e40
-- Dumping data for table `ew_test`
f96e40
--
f96e40
f96e40
INSERT INTO `ew_test` (`id`, `name`, `number`, `value`, `date`) VALUES
f96e40
(1, 'test1', 1, 1.5, '2019-07-11 05:28:17'),
f96e40
(2, 'test2', 2, 2.5, '2019-07-09 04:07:10');
f96e40
f96e40
-- --------------------------------------------------------
f96e40
f96e40
--
f96e40
-- Table structure for table `ew_users`
f96e40
--
f96e40
f96e40
CREATE TABLE `ew_users` (
f96e40
  `id` int(11) NOT NULL,
f96e40
  `login` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
f96e40
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
f96e40
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
f96e40
f96e40
--
f96e40
-- Dumping data for table `ew_users`
f96e40
--
f96e40
f96e40
--
f96e40
-- Indexes for dumped tables
f96e40
--
f96e40
f96e40
--
f96e40
-- Indexes for table `ew_repositories`
f96e40
--
f96e40
ALTER TABLE `ew_repositories`
f96e40
  ADD PRIMARY KEY (`id`);
f96e40
f96e40
--
f96e40
-- Indexes for table `ew_rights`
f96e40
--
f96e40
ALTER TABLE `ew_rights`
f96e40
  ADD PRIMARY KEY (`id`);
f96e40
f96e40
--
f96e40
-- Indexes for table `ew_test`
f96e40
--
f96e40
ALTER TABLE `ew_test`
f96e40
  ADD PRIMARY KEY (`id`);
f96e40
f96e40
--
f96e40
-- Indexes for table `ew_users`
f96e40
--
f96e40
ALTER TABLE `ew_users`
f96e40
  ADD PRIMARY KEY (`id`);
f96e40
f96e40
--
f96e40
-- AUTO_INCREMENT for dumped tables
f96e40
--
f96e40
f96e40
--
f96e40
-- AUTO_INCREMENT for table `ew_repositories`
f96e40
--
f96e40
ALTER TABLE `ew_repositories`
f96e40
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
f96e40
--
f96e40
-- AUTO_INCREMENT for table `ew_rights`
f96e40
--
f96e40
ALTER TABLE `ew_rights`
f96e40
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
f96e40
--
f96e40
-- AUTO_INCREMENT for table `ew_test`
f96e40
--
f96e40
ALTER TABLE `ew_test`
f96e40
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
f96e40
--
f96e40
-- AUTO_INCREMENT for table `ew_users`
f96e40
--
f96e40
ALTER TABLE `ew_users`
f96e40
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;COMMIT;
f96e40
f96e40
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
f96e40
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
f96e40
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;