db_change_field

  1. drupal
    1. drupal6 database.mysql-common.inc
    2. drupal6 database.pgsql.inc
    3. drupal7
Versionen
drupal6 db_change_field(&$ret, $table, $field, $field_new, $spec, $new_keys = array())
drupal6 – drupal7 db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = array())

Verwandte Themen

▾ 20 functions call db_change_field()

dblog_update_7001 in modules/dblog/dblog.install
Allow NULL values for links and longer referers.
dblog_update_7003 in modules/dblog/dblog.install
Allow longer type values.
node_update_7000 in modules/node/node.install
Fix node type 'module' attribute to avoid name-space conflicts.
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
statistics_update_7000 in modules/statistics/statistics.install
Allow longer referrers.
system_update_6002 in modules/system/system.install
Increase the maximum length of variable names from 48 to 128.
system_update_6019 in modules/system/system.install
Reconcile small differences in the previous, manually created mysql and pgsql schemas so they are the same and can be represented by a single schema structure.
system_update_6022 in modules/system/system.install
Update files tables to associate files to a uid by default instead of a nid. Rename file_revisions to upload since it should only be used by the upload module used by upload to link files to nodes.
system_update_6023 in modules/system/system.install
system_update_6025 in modules/system/system.install
Increase the maximum length of node titles from 128 to 255.
system_update_6032 in modules/system/system.install
profile_fields.name used to be nullable but is part of a unique key and so shouldn't be.
system_update_6033 in modules/system/system.install
Change node_comment_statistics to be not autoincrement.
system_update_6037 in modules/system/system.install
Create consistent empty region for disabled blocks.
system_update_6043 in modules/system/system.install
Update table indices to make them more rational and useful.
system_update_6048 in modules/system/system.install
Increase the size of the 'load_functions' and 'to_arg_functions' fields in table 'menu_router'.
system_update_7008 in modules/system/system.install
Use the poll_choice primary key to record votes in poll_votes rather than the choice order. Rename chorder to weight.
system_update_7018 in modules/system/system.install
Shorten the {system}.type column and add an index on type and name.
user_update_7000 in modules/user/user.install
Increase the length of the password field to accommodate better hashes.
user_update_7002 in modules/user/user.install
Convert user time zones from time zone offsets to time zone names.
user_update_7004 in modules/user/user.install
Add the user's pictures to the {files} table and make them managed files.

Code

includes/database/database.inc, line 2439

<?php
function db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = array()) {
  return Database::getConnection()->schema()->changeField($ret, $table, $field, $field_new, $spec, $keys_new);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen