From d74a7b7aec40d83b940dbfe10850734075aa6c5c Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sun, 27 Jun 2021 18:59:21 +0100
Subject: Add an existing table to the config

---
 test/sql/createTestTable.sql | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 test/sql/createTestTable.sql

(limited to 'test/sql/createTestTable.sql')

diff --git a/test/sql/createTestTable.sql b/test/sql/createTestTable.sql
new file mode 100644
index 0000000..fdc1c06
--- /dev/null
+++ b/test/sql/createTestTable.sql
@@ -0,0 +1,14 @@
+CREATE TABLE session(
+	id int(10) unsigned not null auto_increment,
+	session_id varchar(255) not null,
+	username varchar(10) not null collate utf8_bin,
+	user_lvl enum('standard', 'reseller', 'sysadmin', 'groupadm') not null default 'standard',
+	ip_addr varchar(255) not null,
+	port varchar(255) not null,
+	created datetime not null,
+	modified datetime not null,
+	last_action varchar(255) null default null,
+
+	constraint `PRIMARY` primary key(id),
+	constraint session_id unique(session_id)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 
cgit v1.2.3

