github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/queries/schema/SizeInfo.sql (about)

     1  -- Content managed by Project Forge, see [projectforge.md] for details.
     2  -- {% func SizeInfo() %}
     3  select
     4    'default' as "table_schema",
     5    "name" as "table_name",
     6    0 as "row_estimate",
     7    0 as "total",
     8    '' as "total_pretty",
     9    0 as "index",
    10    '' as "index_pretty",
    11    0 as "toast",
    12    '' as "toast_pretty",
    13    0 as "table",
    14    '' as "table_pretty"
    15  from "sqlite_master"
    16  where "type" = 'table'
    17  order by "table_name";
    18  -- {% endfunc %}