init
This commit is contained in:
parent
0f7167210c
commit
1a7929d839
@ -33,10 +33,10 @@ class SQLiteDataLogger : DataLogger {
|
|||||||
statement.set(0, method)
|
statement.set(0, method)
|
||||||
statement.set(1, request)
|
statement.set(1, request)
|
||||||
statement.set(2, incomeHeader.makeString())
|
statement.set(2, incomeHeader.makeString())
|
||||||
statement.set(3, incomeData)
|
statement.set(3, incomeData.decodeToString())
|
||||||
statement.set(4, responseCode)
|
statement.set(4, responseCode)
|
||||||
statement.set(5, outcomeHeader.makeString())
|
statement.set(5, outcomeHeader.makeString())
|
||||||
statement.set(6, outcomeData)
|
statement.set(6, outcomeData.decodeToString())
|
||||||
statement.executeUpdate()
|
statement.executeUpdate()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,10 +51,10 @@ class SQLiteDataLogger : DataLogger {
|
|||||||
method text not null,
|
method text not null,
|
||||||
request text not null,
|
request text not null,
|
||||||
income_header text not null,
|
income_header text not null,
|
||||||
income_data blob not null,
|
income_data text not null,
|
||||||
response_code int not null,
|
response_code int not null,
|
||||||
outcome_header text not null,
|
outcome_header text not null,
|
||||||
outcome_data blob not null
|
outcome_data text not null
|
||||||
);
|
);
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user