- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
-- Table information like sortkeys, unsorted percentage | |
-- see http://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html | |
SELECT * FROM svv_table_info; | |
-- Table sizes in GB | |
SELECT t.name, COUNT(tbl) / 1000.0 AS gb | |
FROM ( | |
SELECT DISTINCT datname, id, name | |
FROM stv_tbl_perm | |
JOIN pg_database ON pg_database.oid = db_id |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
# rails | |
alias r=rails | |
alias rdtp="rake db:test:prepare" | |
# git | |
alias gs="git status" | |
alias gl="git log" | |
alias ga="git add" | |
alias gd="git diff" | |
alias gco="git commit" |