Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It is missing the documentation of hook_schema_alter()
on drupal/contributions/docs/developer/hooks/core.php
. This hook is implemented on drupal_get_schema()
.
Comment | File | Size | Author |
---|---|---|---|
#3 | hook_schema_alter-docs.patch | 1.2 KB | lyricnz |
Comments
Comment #1
TapocoL CreditAttribution: TapocoL commentedWell, I was working on a module to add fields and to adjust the schema for the 'contact' table in core. So, when I found this hook without documentation, I thought I would just post the little piece of code I used for the hook.
But, since this hook does NOT add the fields into the database, I will also post the rest of my code in the .install file if you are interested.
All of this code added fields to the 'contact' db table, and the fields will be added to the 'contact' schema as well. I do not know who handles documentation, but hopefully this helps that effort.
Comment #2
Barry Madore CreditAttribution: Barry Madore commentedMoving
Comment #3
lyricnz CreditAttribution: lyricnz commentedSee attached patch (should be okay for drupal 6+7).
Comment #4
lyricnz CreditAttribution: lyricnz commentedCNR
Comment #5
webchickGreat. :)
Comment #6
lyricnz CreditAttribution: lyricnz commentedCommitted to HEAD http://drupal.org/cvs?commit=148059
Committed to DRUPAL-6--1 http://drupal.org/cvs?commit=148061
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.