Skip to content
Snippets Groups Projects
Commit 74dedfdb authored by Cam Saul's avatar Cam Saul
Browse files

Merge branch 'release-0.25.0' into simplify-mac-app-setup-steps

parents 09d6c085 be74488b
Branches
Tags
No related merge requests found
......@@ -135,7 +135,7 @@
[include_tables include_cards]
{include_tables (s/maybe su/BooleanString)
include_cards (s/maybe su/BooleanString)}
(or (dbs-list include_tables include_cards)
(or (dbs-list (Boolean/parseBoolean include_tables) (Boolean/parseBoolean include_cards))
[]))
......
......@@ -197,7 +197,21 @@
:dataset_query (mbql-count-query database-id table-id)
:visualization_settings {:global {:title nil}}
:database_id database-id ; these should be inferred automatically
:table_id table-id})
:table_id table-id
:labels []
:can_write true,
:dashboard_count 0,
:collection nil
:creator (match-$ (fetch-user :rasta)
{:common_name "Rasta Toucan"
:is_superuser false
:is_qbnewb true
:last_login $
:last_name "Toucan"
:first_name "Rasta"
:date_joined $
:email "rasta@metabase.com"
:id $})})
(with-self-cleaning-random-card-name [_ card-name]
(dissoc ((user->client :rasta) :post 200 "card" (card-with-name-and-query card-name (mbql-count-query database-id table-id)))
:created_at :updated_at :id))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment