Comparison

plugins/mod_storage_sql.lua @ 10701:929c95e518f0

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sun, 22 Mar 2020 21:13:09 +0100
parent 10680:19692fc5c106
parent 10700:3fce670e0733
child 10793:9ce67da45e54
comparison
equal deleted inserted replaced
10698:e4034f6668a5 10701:929c95e518f0
647 Column { name="type", type="TEXT", nullable=false }; 647 Column { name="type", type="TEXT", nullable=false };
648 Column { name="value", type="MEDIUMTEXT", nullable=false }; 648 Column { name="value", type="MEDIUMTEXT", nullable=false };
649 Index { name="prosodyarchive_index", unique = engine.params.driver ~= "MySQL", "host", "user", "store", "key" }; 649 Index { name="prosodyarchive_index", unique = engine.params.driver ~= "MySQL", "host", "user", "store", "key" };
650 Index { name="prosodyarchive_with_when", "host", "user", "store", "with", "when" }; 650 Index { name="prosodyarchive_with_when", "host", "user", "store", "with", "when" };
651 Index { name="prosodyarchive_when", "host", "user", "store", "when" }; 651 Index { name="prosodyarchive_when", "host", "user", "store", "when" };
652 Index { name="prosodyarchive_sort", "host", "user", "store", "sort_id" };
652 }; 653 };
653 engine:transaction(function() 654 engine:transaction(function()
654 ProsodyArchiveTable:create(engine); 655 ProsodyArchiveTable:create(engine);
655 end); 656 end);
656 end 657 end