Seite 1 von 1

db tabellen in contenido

Verfasst: Mi 2. Jun 2004, 23:08
von emergence
das wird jetzt ein etwas längeres posting. ich versuche mal eine auflistung über die tabellen zu geben die in contenido vorhanden sind und wofür sie da sind.

nicht wundern wenn sich dieses posting in nächster zeit etwas ändern wird.
die tabellen aufstellung beruht auf dem http://contenido/snapshots/contenido-cv ... 28.tar.bz2

momentan nur eine grobe aufteilung system,content,security,unused

Code: Alles auswählen

table: 'con_actionlog' -> system (protokol der actions)
table: 'con_actions' - > system
table: 'con_area' -> system
table: 'con_art' -> content (idart,client)
table: 'con_art_lang' -> content (eigenschaften des artikels)
table: 'con_art_spec' -> content (*new)
table: 'con_cat' -> content (kategorie baum)
table: 'con_cat_art' -> content (idcatart zuordnung)
table: 'con_cat_lang' -> content (eigenschaften der kategorie, name etc.)
table: 'con_cat_tree' -> content (kategoriebaum mit levels)
table: 'con_clients' -> user (mandanten eigenschaften)
table: 'con_clients_lang' -> user (definierte sprachen für den mandanten)
table: 'con_code' -> content (cache für frontend)
table: 'con_communications' -> system (*new) 
table: 'con_config' -> unused
table: 'con_config_client' -> unused
table: 'con_container' -> content (beinhaltet alle module die einem template zugewiesen wurden)
table: 'con_container_conf' -> content (konfiguration des templates)
table: 'con_content' -> content (sämtlicher content der site)
table: 'con_data' -> unused
table: 'con_dbfs' -> content (*new) (data base file system)
table: 'con_files' -> system
table: 'con_frame_files' -> system
table: 'con_frontendgroupmembers' -> content,security(*new)
table: 'con_frontendgroups' -> content,security(*new)
table: 'con_frontendpermissions' -> content,security(*new)
table: 'con_frontendusers' -> content,security(*new)
table: 'con_group_prop' - > system,security
table: 'con_groupmembers' - > system,security
table: 'con_groups' - > system,security
table: 'con_inuse' - > system (gesperrte elemente)
table: 'con_keywords' -> ????? 
table: 'con_lang' -> content (angelegte sprachen)
table: 'con_lay' -> content (layout)
table: 'con_link' -> unused
table: 'con_meta_tag' -> content (werte für die einzelnen typen)
table: 'con_meta_type' -> content (definierbare metatags für artikel eigenschaften)
table: 'con_mod' -> content (die module)
table: 'con_mod_history' -> system(*new)
table: 'con_mod_translations' -> content(*new) (übersetzungen für module mi18n)
table: 'con_nav_main' -> system
table: 'con_nav_sub' -> system
table: 'con_news' -> content,system (newsletter)
table: 'con_news_rcp' -> content,system (newsletter subscriber)
table: 'con_phplib_active_sessions' -> system,security (aktive sessions)
table: 'con_phplib_auth_user_md5' -> system,security
table: 'con_plugins' -> unused (bis jetzt)
table: 'con_properties' -> ????? (*new)
table: 'con_rights' -> system,security (gespeicherte rechte)
table: 'con_sequence' -> system,content (interner zähler für die einzelnen tabellen)
table: 'con_stat' -> content (aktuelle monatsstatistik)
table: 'con_stat_archive' -> content (die archivierten)
table: 'con_status' -> ?????
table: 'con_system_prop' -> system(*new) (system einstellungen)
table: 'con_template' -> content (template beschreibung)
table: 'con_template_conf' -> content (zuordnung artikel,kategorie -> template)
table: 'con_type' -> content (die CMS_HTML etc. Variablen)
table: 'con_upl' -> content (die uploads)
table: 'con_user_prop' -> system,security
die mit *new gekennzeichneten gibts in der 4.4.x serie nicht.
alle anderen die nicht mehr zu finden sind gibts ab der 4.5.x serie nicht mehr.

bei offensichtlichen fehlern bitte ich um berichtigung.

Verfasst: Fr 4. Jun 2004, 08:55
von emergence
und weiter gehts...

zusammenhänge

table: 'con_actions' - > system
table: 'con_area' -> system
table: 'con_files' -> system
table: 'con_frame_files' -> system
table: 'con_nav_main' -> system
table: 'con_nav_sub' -> system

siehe -> http://www.contenido.de/temp/Contenido_ ... opment.pdf

Verfasst: Mo 7. Jun 2004, 13:11
von emergence
das wird jetzt etwas komplizierter vielleicht kann es ja einer etwas einfach schreiben.

con_template
con_template_conf
con_container
con_container_conf

con_template -> beinhaltet den namen des templates und die verweise auf con_container,con_container_conf und con_template_conf(falls eine vorkonfiguration beim template gemacht wurde)
con_container -> hier werden für das template alle ausgelesenen container mit dem jeweils zugewiesenen modulen gespeichert
con_container_conf -> konfigurationswerte des input bereichs werden hier gespeichert vorkonfiguration beim template , konfiguration der kategorie und für den einzelnen artikel
con_template_conf -> verweist auf con_container, con_container_conf

näheres wird ersichtlich wenn man sich die tabellen direkt ansieht.

die kategorien templatezuweisung:
con_cat_lang ist via idtplcfg mit con_template_conf verknüpft

die artikel templatezuweisung:
con_art_lang ist via idtplcfg mit con_template_conf verknüpft
hier gibt es einen netten sonderfall:
sollte idtplcfg den wert 0 beinhalten
wird die idtplcfg der zugewiesen kategorie verwendet.

ebenso ganz intressant:
module die sich nicht löschen lassen sind noch in der con_container gespeichert mittels idmod -> con_mod.

Verfasst: Di 8. Jun 2004, 09:51
von Snoopy
Ich habe dazu ein paar Bilder gemalt:

http://www.thilo-sommer.de/PHPMyFAQ/ind ... 76&lang=de

Verfasst: Di 8. Jun 2004, 16:44
von emergence
sieht toll aus ;-)