Updated repository DDL