Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Datenbank aktualisieren - Update 3.5 auf 4.9

  1. #1
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard Datenbank aktualisieren - Update 3.5 auf 4.9

    Hallo zusammen,

    habe eine Website von 3.5 auf die neueste 4.9 upgedatet und mich an diese Anleitung gehalten:
    https://www.liquid-artwork.de/newsre...anleitung.html
    Noch bestehende Erweiterungen wurden neu installiert, nicht mehr bestehende durch Alternativen ersetzt.
    Website läuft - Hat prima funktioniert

    Nun eine Frage zur Aktualisierung der Datenbank im Installtool - genauer gesagt dem Löschen von Tabellen und Spalten.
    Entsprechende Tabellen und Spalten, zugehörig zu Erweiterungen die unter 4.9 nicht mehr in Verwendung sind, habe ich gelöscht.
    Was soll ich aber mit den anderen Tabellen und Spalten machen? Darf ich die einfach löschen? Kann ich davon ausgehen, dass diese nicht mehr gebraucht werden?
    (dk_mmenu ist zB jetzt auch in Verwendung unter 4.9)


    Code:
    Tabellen löschen
    
    DROP TABLE tl_cron
    DROP TABLE tl_extension
    DROP TABLE tl_newsletter_recipients_backup
    DROP TABLE tl_repository_installs
    DROP TABLE tl_repository_instfiles
    DROP TABLE tl_session
    
    Spalten löschen	
    
    ALTER TABLE tl_article DROP space
    ALTER TABLE tl_comments_notify DROP tokenConfirm
    ALTER TABLE tl_comments_notify DROP ip
    ALTER TABLE tl_content DROP youtubeStop
    ALTER TABLE tl_content DROP youtubeStart
    ALTER TABLE tl_content DROP space
    ALTER TABLE tl_content DROP autoplay
    ALTER TABLE tl_content DROP shClass
    ALTER TABLE tl_form DROP tableless
    ALTER TABLE tl_form_field DROP addSubmit
    ALTER TABLE tl_form_field DROP fsType
    ALTER TABLE tl_layout DROP doctype
    ALTER TABLE tl_layout DROP sPosition
    ALTER TABLE tl_log DROP ip
    ALTER TABLE tl_member DROP activation
    ALTER TABLE tl_member DROP createdOn
    ALTER TABLE tl_member DROP autologin
    ALTER TABLE tl_member DROP loginCount
    ALTER TABLE tl_module DROP dk_mmenuHtmlTpl
    ALTER TABLE tl_module DROP dk_mmenuTpl
    ALTER TABLE tl_module DROP dk_mmenuArticle
    ALTER TABLE tl_module DROP dk_mmenuModal
    ALTER TABLE tl_module DROP dk_mmenuOnClickBlockUI
    ALTER TABLE tl_module DROP dk_mmenuDragOpenOpen
    ALTER TABLE tl_module DROP dk_mmenuEffectZoomPanels
    ALTER TABLE tl_module DROP dk_mmenuEffectZoomMenu
    ALTER TABLE tl_module DROP dk_mmenuEffectSlide
    ALTER TABLE tl_module DROP space
    ALTER TABLE tl_module DROP flashJS
    ALTER TABLE tl_module DROP flashID
    ALTER TABLE tl_module DROP interactive
    ALTER TABLE tl_module DROP source
    ALTER TABLE tl_module DROP altContent
    ALTER TABLE tl_module DROP flashvars
    ALTER TABLE tl_module DROP transparent
    ALTER TABLE tl_module DROP size
    ALTER TABLE tl_module DROP totalLength
    ALTER TABLE tl_module DROP tableless
    ALTER TABLE tl_module DROP cols
    ALTER TABLE tl_newsletter_channel DROP smtpPort
    ALTER TABLE tl_newsletter_channel DROP smtpEnc
    ALTER TABLE tl_newsletter_channel DROP smtpPass
    ALTER TABLE tl_newsletter_channel DROP smtpUser
    ALTER TABLE tl_newsletter_channel DROP smtpHost
    ALTER TABLE tl_newsletter_channel DROP useSMTP	
    ALTER TABLE tl_newsletter_recipients DROP token
    ALTER TABLE tl_newsletter_recipients DROP ip
    ALTER TABLE tl_newsletter_recipients DROP confirmed
    ALTER TABLE tl_page DROP mobileLayout
    ALTER TABLE tl_style_sheet DROP disablePie
    ALTER TABLE tl_user DROP loginCount


    LG

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.899
    Partner-ID
    10107

    Standard

    Wenn du dir sicher bist, dass du den Inhalt dieser Tabellen bzw. Spalten nicht mehr brauchst, kannst du die löschen lassen. Wenn du dir nicht sicher bist, dann lass lieber. Zumindest vorerst hast du dadurch keine Nachteile.

  3. #3
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard

    Ich bin mir nicht ganz sicher. Und wenn die Website dadurch keine Nachteile hat, dann lass ichs lieber vorerst drinnen in der DB.
    Danke für deine Einschätzung.

    LG

  4. #4
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.899
    Partner-ID
    10107

    Standard

    Von den Tabellen kannst du zumindest folgende löschen lassen:

    • DROP TABLE tl_cron » Wird nicht mehr benötigt, heißt ab Contao 4.9 nun tl_cron_job.
    • DROP TABLE tl_extension » Nur in Contao 3 relevant für das alte Extension Repository.
    • DROP TABLE tl_repository_installs » Nur in Contao 3 relevant für das alte Extension Repository.
    • DROP TABLE tl_repository_instfiles » Nur in Contao 3 relevant für das alte Extension Repository.

  5. #5
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard

    Danke Spooky!!

  6. #6
    Contao-Nutzer
    Registriert seit
    13.03.2010.
    Beiträge
    227

    Standard

    Und tl_session?

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •