Nightland_Driver

SQL Dump (messages)

Sep 26th, 2021 (edited)
5
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- phpMyAdmin SQL Dump
  2. -- version 5.1.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Erstellungszeit: 26. Sep 2021 um 13:33
  7. -- Server-Version: 10.4.18-MariaDB
  8. -- PHP-Version: 8.0.3
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. START TRANSACTION;
  12. SET time_zone = "+00:00";
  13.  
  14.  
  15. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  16. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  17. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  18. /*!40101 SET NAMES utf8mb4 */;
  19.  
  20. --
  21. -- Datenbank: `demo_data`
  22. --
  23.  
  24. -- --------------------------------------------------------
  25.  
  26. --
  27. -- Tabellenstruktur für Tabelle `messages`
  28. --
  29.  
  30. CREATE TABLE `messages` (
  31.   `id` INT(11) NOT NULL,
  32.   `user_id` INT(11) NOT NULL,
  33.   `sender_id` INT(11) NOT NULL,
  34.   `type` VARCHAR(255) NOT NULL,
  35.   `title` text NOT NULL,
  36.   `text` text NOT NULL,
  37.   `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP(),
  38.   `is_read` INT(11) NOT NULL DEFAULT 0,
  39.   `deleted` INT(11) NOT NULL DEFAULT 0
  40. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  41.  
  42. --
  43. -- Daten für Tabelle `messages`
  44. --
  45.  
  46. INSERT INTO `messages` (`id`, `user_id`, `sender_id`, `type`, `title`, `text`, `created`, `is_read`, `deleted`) VALUES
  47. (1, 3, 0, 'security', 'Account Sicherheit', '<p>Placeholder Text</p>', '2021-04-14 17:32:46', 0, 0),
  48. (2, 3, 1, 'test', 'Test Nachricht', '<p>Placeholder Text</p>', '2021-05-19 17:35:17', 1, 0),
  49. (7, 3, 1, 'test', 'Test Nachricht 1', '<p>Placeholder Text</p>', '2021-04-14 17:35:17', 1, 0),
  50. (8, 3, 1, 'test', 'Test Nachricht 1', '<p>Placeholder Text</p>', '2021-04-14 17:35:17', 0, 1),
  51. (13, 3, 1, 'info', 'Nachricht', '<p>Placeholder Text</p>', '2021-04-14 17:35:17', 1, 0),
  52. (14, 3, 3, 'security', 'Test Benachrichtigung', '<p>Placeholder Text</p>', '2021-09-23 21:07:22', 1, 0),
  53. (18, 3, 3, 'info', 'Nachricht für alle!', '<p>Placeholder Text</p>', '2021-09-23 21:15:32', 0, 0),
  54. (19, 1, 3, 'info', 'Nachricht für alle!', '<p>Placeholder Text</p>', '2021-09-23 21:15:33', 0, 0),
  55. (20, 2, 3, 'info', 'Nachricht für alle!', '<p>Placeholder Text</p>', '2021-09-23 21:15:33', 0, 0),
  56. (27, 3, 0, 'test', 'Test Nachricht 2', '<p>Placeholder Text</p>', '2021-09-23 21:36:18', 1, 1),
  57. (28, 3, 3, 'info', 'Test nAchricht', '<p>Placeholder Text</p>', '2021-09-23 21:48:27', 0, 0),
  58. (35, 3, 3, 'info', 'Test nAchricht', '<p>Placeholder Text</p>', '2021-09-23 21:48:27', 0, 0),
  59. (36, 3, 0, 'info', 'Test nAchricht', '<p>Placeholder Text</p>', '2021-09-23 21:48:27', 1, 0);
  60.  
  61. --
  62. -- Indizes der exportierten Tabellen
  63. --
  64.  
  65. --
  66. -- Indizes für die Tabelle `messages`
  67. --
  68. ALTER TABLE `messages`
  69.   ADD PRIMARY KEY (`id`);
  70.  
  71. --
  72. -- AUTO_INCREMENT für exportierte Tabellen
  73. --
  74.  
  75. --
  76. -- AUTO_INCREMENT für Tabelle `messages`
  77. --
  78. ALTER TABLE `messages`
  79.   MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;
  80. COMMIT;
  81.  
  82. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  83. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  84. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  85.  
RAW Paste Data