Skip to content

Commit

Permalink
ide: big_stage view for uncommitted changes summary
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed Nov 1, 2019
1 parent 328e223 commit 17b7d9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sql/ide/000-ide.sql
Expand Up @@ -62,5 +62,11 @@ order by url_pattern;



create or replace view ide.big_stage as
select b.name, b.id as bundle_id, count(*) as row_count, ((h.row_id).pk_column_id).relation_id as relation_id, change_type
from bundle.head_db_stage_changed h
join bundle.bundle b on h.bundle_id = b.id
group by b.name, b.id, ((row_id).pk_column_id).relation_id, change_type
order by b.name;

commit;

0 comments on commit 17b7d9e

Please sign in to comment.