aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/examples/sql/sqlite.propertystorage.sql
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/examples/sql/sqlite.propertystorage.sql')
-rw-r--r--vendor/examples/sql/sqlite.propertystorage.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/examples/sql/sqlite.propertystorage.sql b/vendor/examples/sql/sqlite.propertystorage.sql
new file mode 100644
index 000000000..72e860ce3
--- /dev/null
+++ b/vendor/examples/sql/sqlite.propertystorage.sql
@@ -0,0 +1,10 @@
+CREATE TABLE propertystorage (
+ id integer primary key asc NOT NULL,
+ path text NOT NULL,
+ name text NOT NULL,
+ valuetype integer NOT NULL,
+ value string
+);
+
+
+CREATE UNIQUE INDEX path_property ON propertystorage (path, name);