public static void CreateJournalTable(string connectionString, string tableName)
{
if (string.IsNullOrEmpty(connectionString)) throw new ArgumentNullException("connectionString", "SqlitePersistence requires connection string to be provided");
if (string.IsNullOrEmpty(tableName)) throw new ArgumentNullException("tableName", "SqlitePersistence requires journal table name to be provided");
using (var connection = new SQLiteConnection(connectionString))
using (var command = new SQLiteCommand(string.Format(JournalFormat, tableName), connection))
{
connection.Open();
command.ExecuteNonQuery();
}
}