deal with derived collections properly: ignore derived-from ancestor's metadata
add copyright statement and license info to sql files