mirror of https://github.com/AMT-Cheif/drift.git
Fix view schema test
This commit is contained in:
parent
fb08707872
commit
4fe95bc01a
|
@ -67,10 +67,6 @@ void main() {
|
|||
|
||||
verify(mockExecutor.runCustom(
|
||||
'CREATE VIEW category_todo_count_view AS SELECT '
|
||||
'todos.id AS "todos.id", todos.title AS "todos.title", '
|
||||
'todos.content AS "todos.content", '
|
||||
'todos.target_date AS "todos.target_date", '
|
||||
'todos.category AS "todos.category", '
|
||||
'categories."desc" AS "categories.desc", '
|
||||
'COUNT(todos.id) AS "item_count" '
|
||||
'FROM categories '
|
||||
|
@ -80,11 +76,6 @@ void main() {
|
|||
|
||||
verify(mockExecutor.runCustom(
|
||||
'CREATE VIEW todo_with_category_view AS SELECT '
|
||||
'categories.id AS "categories.id", '
|
||||
'categories."desc" AS "categories.desc", '
|
||||
'categories.priority AS "categories.priority", '
|
||||
'categories.description_in_upper_case '
|
||||
'AS "categories.description_in_upper_case", '
|
||||
'todos.title AS "todos.title", '
|
||||
'categories."desc" AS "categories.desc" '
|
||||
'FROM todos '
|
||||
|
|
Loading…
Reference in New Issue