Commit 97755aae authored by Armando Lüscher's avatar Armando Lüscher

Merge pull request #2 from MBoretto/changedeleteorder

parents ca9bff22 60cf8148
......@@ -186,16 +186,16 @@ class TestHelpers
$pdo = new \PDO($dsn, $credentials['user'], $credentials['password'], $options);
$pdo->prepare('
DELETE FROM `conversation`;
DELETE FROM `telegram_update`;
DELETE FROM `chosen_inline_query`;
DELETE FROM `inline_query`;
DELETE FROM `message`;
DELETE FROM `user_chat`;
DELETE FROM `user`;
DELETE FROM `chat`;
DELETE FROM `chosen_inline_query`;
DELETE FROM `inline_query`;
DELETE FROM `telegram_update`;
DELETE FROM `user`;
')->execute();
} catch (\Exception $e) {
//Ignore...
throw new TelegramException($e->getMessage());
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment