[katello-devel] Table names check-up

Lukas Zapletal lzap at redhat.com
Thu May 26 08:54:38 UTC 2011


Hello,

if I take a look at our table names it looks good:

 >> ActiveRecord::Base.connection.tables.each { |t| puts t }

schema_migrations (*)
organizations
environments
environment_priors
products
kp_environments_products (**)
providers
changesets
changeset_histories
users
roles
verbs
resource_types
tags
permissions
permissions_verbs
permissions_tags
roles_users
changesets_products
help_tips
notices
user_notices
systems
changeset_packages
changeset_errata

(*) this one is Rails' one
(**) we might like to remove the prefix for this one (like for environments)

If you see any issues let others know.

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list