--- /dev/null
+-- phpMyAdmin SQL Dump
+-- version 5.2.1
+-- https://www.phpmyadmin.net/
+--
+-- Host: localhost:3306
+-- Erstellungszeit: 03. Mrz 2024 um 15:34
+-- Server-Version: 8.0.36
+-- PHP-Version: 8.1.27
+
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
+START TRANSACTION;
+SET time_zone = "+00: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 */;
+
+--
+-- Datenbank: `ycra_main`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Tabellenstruktur für Tabelle `event_tickets`
+--
+
+CREATE TABLE `event_tickets` (
+ `event_id` int UNSIGNED NOT NULL,
+ `member_id` int UNSIGNED NOT NULL,
+ `date_added` datetime NOT NULL,
+ `date_purchased` datetime DEFAULT NULL,
+ `paid` tinyint(1) NOT NULL DEFAULT '0',
+ `details` text
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+
+-- --------------------------------------------------------
+
+--
+-- Tabellenstruktur für Tabelle `members`
+--
+
+CREATE TABLE `members` (
+ `id` int UNSIGNED NOT NULL,
+ `first_name` mediumtext NOT NULL,
+ `surname` mediumtext NOT NULL,
+ `email_address` mediumtext NOT NULL,
+ `date_added` datetime NOT NULL,
+ `date_joined` datetime DEFAULT NULL,
+ `address_line_1` mediumtext,
+ `address_line_2` mediumtext,
+ `city` mediumtext,
+ `region` mediumtext,
+ `postcode` mediumtext,
+ `country` mediumtext,
+ `paypal_attempt` tinyint(1) NOT NULL DEFAULT '0'
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;
+
+-- --------------------------------------------------------
+
+--
+-- Tabellenstruktur für Tabelle `users`
+--
+
+CREATE TABLE `users` (
+ `id` int UNSIGNED NOT NULL,
+ `email_address` text,
+ `password` text
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+
+--
+-- Indizes der exportierten Tabellen
+--
+
+--
+-- Indizes für die Tabelle `event_tickets`
+--
+ALTER TABLE `event_tickets`
+ ADD UNIQUE KEY `event_id` (`event_id`,`member_id`),
+ ADD KEY `member_id` (`member_id`);
+
+--
+-- Indizes für die Tabelle `members`
+--
+ALTER TABLE `members`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- Indizes für die Tabelle `users`
+--
+ALTER TABLE `users`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- AUTO_INCREMENT für exportierte Tabellen
+--
+
+--
+-- AUTO_INCREMENT für Tabelle `members`
+--
+ALTER TABLE `members`
+ MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;
+
+--
+-- AUTO_INCREMENT für Tabelle `users`
+--
+ALTER TABLE `users`
+ MODIFY `id` int 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 */;