-renamed column repository to name in table repositories -add repo_id to packages to associate a package to its repository