aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/examples/sql/mysql.propertystorage.sql
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/examples/sql/mysql.propertystorage.sql')
-rw-r--r--vendor/examples/sql/mysql.propertystorage.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/examples/sql/mysql.propertystorage.sql b/vendor/examples/sql/mysql.propertystorage.sql
new file mode 100644
index 000000000..1b5ca5ac6
--- /dev/null
+++ b/vendor/examples/sql/mysql.propertystorage.sql
@@ -0,0 +1,9 @@
+CREATE TABLE propertystorage (
+ id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
+ path VARBINARY(1024) NOT NULL,
+ name VARBINARY(100) NOT NULL,
+ valuetype INT UNSIGNED,
+ value MEDIUMBLOB
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+CREATE UNIQUE INDEX path_property ON propertystorage (path(600), name(100));