My earlier posts kept saying "expand and contract" without ever showing it end to end. This one does. I'll rename users.fullname to users.display_name on a live PostgreSQL database, one safe step at a time. The sequence works on any database, but the SQL and locking details below are PostgreSQL. TL;DR: never rename in one step. Add the new column,... Weiterlesen: Renaming a Database Column Without Downtime
Intelligence View
⚡ tsecurity.de Intelligence
Renaming a Database Column Without Downtime
My earlier posts kept saying "expand and contract" without ever showing it end to end. This one does. I'll rename users.fullname to users.display_name on a…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Sichere Programmierung
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Security Briefing Kostenlos · 1-Klick-Abmeldung
Intelligence Digest — kostenlos
Täglich die wichtigsten Security-News · jederzeit abbestellbar
💬 Community-Diskussion & Kommentare
Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.