Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 2.52 KB | None | 0 0
  1. -- --------------------------------------------------------
  2. -- Host:                         127.0.0.1
  3. -- Server Version:               10.1.31-MariaDB - mariadb.org binary distribution
  4. -- Server Betriebssystem:        Win32
  5. -- HeidiSQL Version:             9.5.0.5196
  6. -- --------------------------------------------------------
  7.  
  8. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!50503 SET NAMES utf8mb4 */;
  11. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  12. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  13.  
  14. -- Exportiere Struktur von Tabelle kayako_sucks.comments
  15. CREATE TABLE IF NOT EXISTS `comments` (
  16.   `id` int(11) NOT NULL AUTO_INCREMENT,
  17.   `userid` int(11) DEFAULT NULL,
  18.   `content` text,
  19.   `ticketid` int(11) DEFAULT NULL,
  20.   `created_at` varchar(255) DEFAULT NULL,
  21.   PRIMARY KEY (`id`),
  22.   KEY `ticketid` (`ticketid`),
  23.   CONSTRAINT `ticketid` FOREIGN KEY (`ticketid`) REFERENCES `tickets` (`id`)
  24. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  25.  
  26. -- Exportiere Daten aus Tabelle kayako_sucks.comments: ~0 rows (ungefähr)
  27. DELETE FROM `comments`;
  28. /*!40000 ALTER TABLE `comments` DISABLE KEYS */;
  29. /*!40000 ALTER TABLE `comments` ENABLE KEYS */;
  30.  
  31. -- Exportiere Struktur von Tabelle kayako_sucks.tickets
  32. CREATE TABLE IF NOT EXISTS `tickets` (
  33.   `id` int(11) NOT NULL,
  34.   `content` text,
  35.   `userid` int(11) NOT NULL,
  36.   `created_at` varchar(255) DEFAULT NULL,
  37.   UNIQUE KEY `id` (`id`),
  38.   KEY `userid` (`userid`),
  39.   CONSTRAINT `userid` FOREIGN KEY (`userid`) REFERENCES `users` (`id`)
  40. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  41.  
  42. -- Exportiere Daten aus Tabelle kayako_sucks.tickets: ~0 rows (ungefähr)
  43. DELETE FROM `tickets`;
  44. /*!40000 ALTER TABLE `tickets` DISABLE KEYS */;
  45. /*!40000 ALTER TABLE `tickets` ENABLE KEYS */;
  46.  
  47. -- Exportiere Struktur von Tabelle kayako_sucks.users
  48. CREATE TABLE IF NOT EXISTS `users` (
  49.   `id` int(11) NOT NULL,
  50.   `full_name` varchar(255) DEFAULT NULL,
  51.   `email` varchar(255) DEFAULT NULL,
  52.   `created_at` varchar(255) DEFAULT NULL,
  53.   UNIQUE KEY `id` (`id`)
  54. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  55.  
  56. -- Exportiere Daten aus Tabelle kayako_sucks.users: ~0 rows (ungefähr)
  57. DELETE FROM `users`;
  58. /*!40000 ALTER TABLE `users` DISABLE KEYS */;
  59. /*!40000 ALTER TABLE `users` ENABLE KEYS */;
  60.  
  61. /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
  62. /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
  63. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement