From 8bde36f985d5c96a26c1809f8d9ad26838e73ed3 Mon Sep 17 00:00:00 2001 From: Bryan Pedini Date: Thu, 28 Jan 2021 16:48:31 +0100 Subject: [PATCH] added routing table TODO: check if table exists, otherwise import the SQL (with table name prefix) --- table_routes.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 table_routes.sql diff --git a/table_routes.sql b/table_routes.sql new file mode 100644 index 0000000..dc21559 --- /dev/null +++ b/table_routes.sql @@ -0,0 +1,7 @@ +CREATE TABLE IF NOT EXISTS `mpf_routes` ( + `ID` bigint(20) NOT NULL AUTO_INCREMENT, + `uri` varchar(255) COLLATE utf8mb4_bin NOT NULL, + `path` text COLLATE utf8mb4_bin NOT NULL, + PRIMARY KEY (`ID`), + KEY `URI` (`uri`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;