Diff

plugins/mod_storage_sql.lua @ 8470:81f894d08b17

mod_storage_sql: Remove ability to override name of key-value table (unreachable and would not work)
author Kim Alvefur <zash@zash.se>
date Mon, 11 Dec 2017 22:45:03 +0100
parent 8410:54ff1f91e4db
child 8480:3d3706147174
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Sat Dec 09 20:56:37 2017 +0100
+++ b/plugins/mod_storage_sql.lua	Mon Dec 11 22:45:03 2017 +0100
@@ -455,7 +455,7 @@
 	local Table, Column, Index = sql.Table, sql.Column, sql.Index;
 
 	local ProsodyTable = Table {
-		name= name or "prosody";
+		name = "prosody";
 		Column { name="host", type="TEXT", nullable=false };
 		Column { name="user", type="TEXT", nullable=false };
 		Column { name="store", type="TEXT", nullable=false };