Skip to content

Commit

Permalink
Take db out of tracking part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
camille-s committed Aug 27, 2024
1 parent 88e52bb commit 83060f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Binary file removed gloss.duckdb
Binary file not shown.
7 changes: 0 additions & 7 deletions scripts/build_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ duckdb -c "SELECT table_name, count(*) AS columns
WHERE table_schema = 'main'
GROUP BY table_name;" "$DB"

# make array of table names
mapfile -t tbls < <(duckdb -noheader -list -c "SELECT DISTINCT table_name
FROM information_schema.tables
WHERE table_schema = 'main';" "$DB")

duckdb -c "SELECT table_name, estimated_size, index_count FROM duckdb_tables();" "$DB"

# write timestamp
# date -u +"%Y-%m-%dT%H:%M:%S.000Z" > .last_build
duckdb -noheader -list -c "SELECT strftime(current_timestamp, '%Y-%m-%dT%H:%M:%S.000Z');" > .last_build

0 comments on commit 83060f2

Please sign in to comment.