Changeset

6726:e6e80ec50030

mod_storage_sql2: Add a 'caps' table for indicating support for optional features
author Kim Alvefur <zash@zash.se>
date Tue, 19 May 2015 18:24:53 +0200
parents 6725:41725f3df3cc
children 6727:eb9c842b80fa 6728:db28b8639737
files plugins/mod_storage_sql2.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua	Tue May 19 18:24:09 2015 +0200
+++ b/plugins/mod_storage_sql2.lua	Tue May 19 18:24:53 2015 +0200
@@ -215,6 +215,9 @@
 end
 
 local archive_store = {}
+archive_store.caps = {
+	total = true;
+};
 archive_store.__index = archive_store
 function archive_store:append(username, key, value, when, with)
 	if type(when) ~= "number" then