diff --git a/SQLite_Engine/Query/IsValid.cs b/SQLite_Engine/Query/IsValid.cs index 386de50..c331df6 100644 --- a/SQLite_Engine/Query/IsValid.cs +++ b/SQLite_Engine/Query/IsValid.cs @@ -440,7 +440,8 @@ private static bool ValidateTextLength(object value, Column column) private static readonly string[] AllowedSqlStarts = { "select", "create table", "create index", "insert into", "update", "delete from", - "pragma", "with", "drop table", "drop index", "alter table" + "pragma", "with", "drop table", "drop index", "alter table", + "attach database", "detach database" }; private static readonly string[] ForbiddenKeywords = {