added routing table

TODO: check if table exists, otherwise import the SQL (with table name prefix)
This commit is contained in:
Bryan Joshua Pedini 2021-01-28 16:48:31 +01:00
parent 41a8adc3ea
commit 8bde36f985
1 changed files with 7 additions and 0 deletions

7
table_routes.sql Normal file
View File

@ -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;