text: -- MySQL dump 10.17  Distrib 10.3.12-MariaDB, for Linux (x86_64)
  --
  -- Host: localhost    Database: schema-generator@prisma-3143
  -- ------------------------------------------------------
  -- Server version	5.7.23
  
  
  --
  -- Table structure for table `Story`
  --
  
  DROP TABLE IF EXISTS `Story`;
  CREATE TABLE `Story` (
    `id` char(25) CHARACTER SET utf8 NOT NULL,
    `updatedAt` datetime(3) NOT NULL,
    `createdAt` datetime(3) NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `id_UNIQUE` (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Table structure for table `UserSpace`
  --
  
  DROP TABLE IF EXISTS `UserSpace`;
  CREATE TABLE `UserSpace` (
    `id` char(25) CHARACTER SET utf8 NOT NULL,
    `updatedAt` datetime(3) NOT NULL,
    `createdAt` datetime(3) NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `id_UNIQUE` (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Table structure for table `_RelayId`
  --
  
  DROP TABLE IF EXISTS `_RelayId`;
  CREATE TABLE `_RelayId` (
    `id` char(25) CHARACTER SET utf8 NOT NULL,
    `stableModelIdentifier` char(25) CHARACTER SET utf8 NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `id_UNIQUE` (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Table structure for table `_StoriesByUserSpace`
  --
  
  DROP TABLE IF EXISTS `_StoriesByUserSpace`;
  CREATE TABLE `_StoriesByUserSpace` (
    `A` char(25) CHARACTER SET utf8 NOT NULL,
    `B` char(25) CHARACTER SET utf8 NOT NULL,
    UNIQUE KEY `AB_unique` (`A`,`B`),
    KEY `A` (`A`),
    KEY `B` (`B`),
    CONSTRAINT `_StoriesByUserSpace_ibfk_1` FOREIGN KEY (`A`) REFERENCES `Story` (`id`) ON DELETE CASCADE,
    CONSTRAINT `_StoriesByUserSpace_ibfk_2` FOREIGN KEY (`B`) REFERENCES `UserSpace` (`id`) ON DELETE CASCADE
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  
  -- Dump completed on 2019-04-29 12:50:23
  