Do we (or our users) use indices or primary key information in some way besides DDL generation? Because then we could well consider omitting it from the generated if that comes from a database schema already and will not need to create one.