Timeline for How do I alter a database schema defined from another module?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 22, 2016 at 6:53 | vote | accept | Sugandh Khanna | ||
Nov 22, 2016 at 6:32 | comment | added | Jaypan | $spec is the Array representation of the schema element. Example ['type' => 'int', 'length' => 15]. $keys is an array that will contain the primary key. See the documentation on table definitions: api.drupal.org/api/drupal/… | |
Nov 22, 2016 at 6:19 | comment | added | Sugandh Khanna | What would be $spec and $keys_new parameter here? Any example where it is implemented? And can I write this in hook_install in mymodule.install file? | |
Nov 21, 2016 at 14:28 | comment | added | Jaypan | It's acting up for me too - just reload the page a couple of times and it will eventually load. | |
Nov 21, 2016 at 14:14 | comment | added | mradcliffe |
api.drupal.org's been acting up lately. Could you fill-in the appropriate parameters for addField($table, $field, $spec, $keys_new) ?
|
|
Nov 21, 2016 at 14:07 | history | answered | Jaypan | CC BY-SA 3.0 |