Custom copy of schema2ddl for RS use only