aboutsummaryrefslogtreecommitdiffstats
path: root/sql/sqlite/patch-collation.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sqlite/patch-collation.sql')
-rw-r--r--sql/sqlite/patch-collation.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sqlite/patch-collation.sql b/sql/sqlite/patch-collation.sql
new file mode 100644
index 000000000000..a6d5554e6e56
--- /dev/null
+++ b/sql/sqlite/patch-collation.sql
@@ -0,0 +1,7 @@
+
+CREATE TABLE /*_*/collation (
+ collation_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
+ collation_name BLOB NOT NULL
+);
+
+CREATE UNIQUE INDEX collation_name ON /*_*/collation (collation_name);