summaryrefslogtreecommitdiff
path: root/modules/extra/sql.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-04-29 19:24:37 -0400
committerAdam <Adam@anope.org>2012-04-29 19:24:37 -0400
commit42e652cae79c0387e690f18e00712963c2dfec22 (patch)
tree6dc111a9df238a1f905622532c6a65890a8f0c4f /modules/extra/sql.h
parent62818abbf4a39b7641ad2b84d1888ed03b653819 (diff)
Pull table schemas from SQL on startup so we can alter the schemas if we need to, fixed sqlite to work again
Diffstat (limited to 'modules/extra/sql.h')
-rw-r--r--modules/extra/sql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/extra/sql.h b/modules/extra/sql.h
index 2e2e1840c..03c3c7694 100644
--- a/modules/extra/sql.h
+++ b/modules/extra/sql.h
@@ -129,6 +129,8 @@ class SQLProvider : public Service
virtual std::vector<SQLQuery> CreateTable(const Anope::string &table, const Serialize::Data &data) = 0;
+ virtual SQLQuery BuildInsert(const Anope::string &table, unsigned int id, const Serialize::Data &data) = 0;
+
virtual SQLQuery GetTables(const Anope::string &prefix) = 0;
};